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, biapar, Willr, Ingo, swaiba, simon_w

Force Flush Sitewide


Reply

2 Posts   1111 Views

Avatar
Terminator4

27 May 2009 at 10:34am Community Member, 81 Posts

Hey,
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.

Thanks

Avatar
Willr

27 May 2009 at 10:13pm Forum Moderator, 5511 Posts

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