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.

Archive

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

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

cache control


Reply

1333 Views

Avatar
benni

28 February 2008 at 12:42am Community Member, 5 Posts

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?

[url]http://doc.silverstripe.com/doku.php?id=cache-control[/url] 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