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


1362 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?

[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