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.

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

Force Flush Sitewide

Go to End

2 Posts   1417 Views


Community Member, 81 Posts

27 May 2009 at 10:34am

I would like to know how I can force a flush sitewide on the users side and by a GET querystring or code that I could write.



Forum Moderator, 5523 Posts

27 May 2009 at 10:13pm

You can fliush the whole site by setting ?flush=all in your url. A couple flush function exist which you can call in your php if you need to - The main one would be SSViewer::flush_template_cache() if you need to do it without a get var