Jump to:

5513 Posts in 1732 Topics by 1218 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Appending ?flush=1 to URL

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

Page: 1
Go to End
Author Topic: 1044 Views
  • hunman
    Avatar
    Community Member
    18 Posts

    Appending ?flush=1 to URL Link to this post

    I am having issue with ?flush=1 being appended to the URL to flush the cache ?

    In a production site if the developer does some changes to the site template files, how can I expect the user to append ?flush=1 to the URL when he does not know about this at all ?

    How can I disable "flush" and at the same time speed of the site is not an issue?

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Appending ?flush=1 to URL Link to this post

    Wouldn't a developer be able to do the flush=1 after they have changed the template - or maybe I don't understand.

    When I change templates (especially nested include) I delete the cache manually. (first create 'silverstripe-cache' in the webroot, then to clear the cache delete all the contents).

  • hunman
    Avatar
    Community Member
    18 Posts

    Re: Appending ?flush=1 to URL Link to this post

    Hi Swaiba,

    Can you explain me how can I create cache in the webroot and how can I clear the the cache from it.

    I have another question ? flush=1 deletes cache in the server or in the browser? Please clarify

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Appending ?flush=1 to URL Link to this post

    1) create 'silverstripe-cache' folder in the webroot (along side 'mysite')
    2) to clear the cache delete all the files and folders within that folder

  • hunman
    Avatar
    Community Member
    18 Posts

    Re: Appending ?flush=1 to URL Link to this post

    Thanks Swaiba for your reply

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