Just a couple of comments on this topic.

If you're using apache2.2 then mod_cache is available. This can be used to cache the result of a request either in memory or disk. Ideal for the situations where you want to cache the front page of your site every minute.

http://httpd.apache.org/docs/2.2/mod/mod_cache.html

Also if you want to offload all your static resources to a non-Cat server then the simplest way of doing that is to simply stick a full url in the HTML.

 <img src="http://static.example.com/images/logo.png"; />

Use a config option so you can vary it:

 <img src="[% c.config.static_path %]/images/logo.png" />

Using ConfigLoader you can have different devel/live values for static_path too.

Carl


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to