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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

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

cache control


Go to End


1761 Views

Avatar
benni

Community Member, 5 Posts

28 February 2008 at 12:42am

hey

I have a few questions conerning the browser cache. When I edit or add a page I have to reload (which means STR + R) the pages by myself, otherwise the new content oder navigation isn't visible. How can I make sure, that everybody, who visit the page after editing, sees the new content and navigation?

http://doc.silverstripe.com/doku.php?id=cache-control gives an overview for the cache control principles, but I guess, I haven't understand the concept completly.

I tried to set HTTP::set_cache_age(0) in my _config.php, but this doesn' work. Any suggestions, how I can deal with this?

greetings