Re: [Radiant] Re: How to take advantage of server-side caching (Rack cache) without using browser caching

2011-03-09 Thread William Ross
On 9 Mar 2011, at 16:46, rosslaird wrote:

> I can find various online postings and tutorials about increasing the
> cache in rails, but is there a conventional way to do this in Radiant?
> In other words, how do you do this:
> 
>> The default cache timeout is only five minutes, though. I normally increase 
>> that to at least a week.


The governing variable is SiteController.cache_timeout, and one common place to 
set it is in config/environment/production.rb:

SiteController.cache_timeout = 24.hours

best,

will

[Radiant] Re: How to take advantage of server-side caching (Rack cache) without using browser caching

2011-03-09 Thread rosslaird
I can find various online postings and tutorials about increasing the
cache in rails, but is there a conventional way to do this in Radiant?
In other words, how do you do this:

> The default cache timeout is only five minutes, though. I normally increase 
> that to at least a week.

Ross