Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Command to empty the SilverStripe cache?

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: 1132 Views
  • martimiz
    Forum Moderator
    1086 Posts

    Command to empty the SilverStripe cache? Link to this post

    Hi all

    Is there an 'official' way to clear (empty) the silverstripe-cache/ or even only the silverstripe-cache/cache/ directory? Without renewing it - and not manually I'm asking this because on a shared hosting account, cachefiles are owned by Apache, and I can't remove them manually.

    I've made a little script that can, but I'd feel stupid using that all the time if there's some nice SilverStripe command I missed that would do it for me?

    Thanks, Martine

  • swaiba
    Forum Moderator
    1792 Posts

    Re: Command to empty the SilverStripe cache? Link to this post

    Hi martimiz,

    I don't think there is (or should I say I searched, but didn't find anything with TEMP_FOLDER and delete all stuff in it) - any chance you'd post your deletescript please - I think it should be easier too.

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.