[Radiant] Caching and optimizations
John W. Long
ng at johnwlong.com
Fri Aug 18 16:29:07 CDT 2006
Frederico Oliveira wrote:
> Still, giving users the chance to change the ResponseCache expiry
> times in, say, a config file would be a safe bet.
Actually, you can do that. Just drop the following in config/environment.rb:
ResponseCache.defaults[:expire_time] = 2.days
There are a couple of other defaults that you can use to configure
caching. They are listed at the top of this file:
http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/response_cache.rb
But I must ask: Is this actually an issue for you or are you
anticipating that it might be? I ask because I believe that a lot of
people make assumptions about caching based on what was once required on
old hardware. I believe that modern hardware has changed the game and
CPU time is no longer an issue for all but mega Web sites.
Jason Hoffman did a study on Radiant and caching and posted some
interesting screenshots about it on Flickr:
http://flickr.com/photos/textdriveinc/179393665/in/photostream/
--
John Long
http://wiseheartdesign.com
More information about the Radiant
mailing list