Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

What LSQL files are cached by mod_perl/ Apache::Registry?

Quote Reply
What LSQL files are cached by mod_perl/ Apache::Registry?
Does anybody using mod perl know if there is a file that specifies which files are cached by mod_perl in LSQL cgi-bin directory or does it cache the whole directory?



The problem is we want to ideally selectively NOT cache admin-side scripts (so changes can be seen immediately) and cache only files relevant to the “user experience” without having to restart apache everytime we make an admin change or script change. Because it is cached, I always see the old version until apache is restarted.
Quote Reply
Re: [scorpioncapital] What LSQL files are cached by mod_perl/ Apache::Registry? In reply to
Hi,

Under mod_perl using Apache::Registry, changes to .cgi files will be picked up automatically. It's only changes to included modules (.pm files), that requires a mod_perl restart. Alternatively their is an option to modperl to always reload the module if it's changed (but shouldn't be used in production as it slows things down).

I would recommend not running the admin under mod_perl, just run the user side. That should accomplish what you want.

Cheers,

Alex
--
Gossamer Threads Inc.