From: Jamie M. <ja...@mc...> - 2011-02-14 17:04:17
|
On Feb 14, 2011, at 10:35 AM, Marc G. Fournier wrote: >> On Feb 11, 2011, at 9:59 PM, Marc G. Fournier wrote: >> >>> Okay, there has gotta be a few things I'm missing here that are obvious to soemone that has used this extensively ... >>> >>> 1. where are files cached? Do I seriously have to restart the apache server each and every time I make a change, or is there a file I can touch / remove on the file system to force it to reload? By default, mod_perl will notice your .pl files changing and reimport them. If you want changes to your .pm files also to be reimported, and are willing to pay the performance penalty, check out Apache::Reload: <http://perl.apache.org/docs/1.0/guide/porting.html#Using_Apache__Reload> Templates are written from disk into the DB by template-tool, and edited in the DB at runtime by a couple places in Slash, including the admin template editing pages. If you're editing templates on disk, I guess the DB would be a "cache" of that which you flush by running template-tool. Apache also keeps its own cache of the templates in the DB, grep on template_cache_size for more on that. -- Jamie McCarthy jam...@gm... ja...@mc... 269-267-2008 |