Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Cache headers

Go to End

2 Posts   1581 Views


Community Member, 32 Posts

17 May 2013 at 4:07am

I've been advised that caching is not working on my site. I find this odd because I'm explicitly setting the following in my config:


Shouldn't this enable caching by default?

I've just checked my headers using telnet and found this:

Cache-Control: no-cache, max-age=0, must-revalidate, no-transform

How can I set max-age to something more suitable for my site?


Community Member, 254 Posts

17 May 2013 at 12:35pm

It looks like you can set cache age in the config file


It's a good question and I can't say I've looked into the caching that much. What was the telnet command you used to reveal the cache info?