Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » How to remove the cache time.

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1144 Views
  • Soumen
    Avatar
    Community Member
    7 Posts

    How to remove the cache time. Link to this post

    I have tried ?flush=1 but it is not working properly. Can somebody tell me how to remove the cache completely?

    Thanks in advanced

    Soumen

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: How to remove the cache time. Link to this post

    if ?flush=1 isnt working you can try a hard refresh in your browser (which could be caching it) -if your on windows its CTRL + F5. Otherwise try add this in your mysite/_config.php file -

    HTTP::set_cache_age(0);

    You can also find out where it sorts them on your computer - think its like C:/WINDOWS/TEMP or something. And you can just delete the files from there

    1144 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.