Jump to:

23481 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Force Flush Sitewide

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

Page: 1
Go to End
Author Topic: 1103 Views
  • Terminator4
    Avatar
    Community Member
    81 Posts

    Force Flush Sitewide Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5503 Posts

    Re: Force Flush Sitewide Link to this post

    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

    1103 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.