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.
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?
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).
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
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
Thanks Swaiba for your reply