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   1122 Views

Avatar
Terminator4

Community Member, 81 Posts

27 May 2009 at 10:34am

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

Forum Moderator, 5513 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