Page 1 of 1

Add a refresh cache button

Posted: Friday 17 July 2015 12:37
by leecollings
Would it be an easy task to add an 'Clear Cache' button to the Setup dropdown menu?

Re: Add a refresh cache button

Posted: Tuesday 04 August 2015 16:45
by gizmocuz
that is a browser issue, you can only perform this in the browser

Why would you need this? If you are developing, then add a startup parameter -nocache

Re: Add a refresh cache button

Posted: Tuesday 29 March 2016 12:18
by leecollings
gizmocuz wrote:If you are developing, then add a startup parameter -nocache
How exactly can this be done? What files need to be edited?

Re: Add a refresh cache button

Posted: Tuesday 29 March 2016 13:39
by RidingTheFlow
I use option on Chrome which temporarily disables cache when development panel (Ctrl-Shift-I) is up. Works pretty well.

Re: Add a refresh cache button

Posted: Tuesday 29 March 2016 16:06
by bizziebis
Or open a new 'Private browsing' tab. This should be something everyone should try when they think they have troubles with Domoticz web interface. Very easy, very efficient.

Add a refresh cache button

Posted: Tuesday 29 March 2016 19:09
by Marci
leecollings wrote:
gizmocuz wrote:If you are developing, then add a startup parameter -nocache
How exactly can this be done? What files need to be edited?
On raspberry...

Code: Select all

sudo service domoticz.sh stop
cd ~/domoticz
./domoticz -nocache
Now use private-browsing in your web browser to keep regular browser cache clear for duration of development.

When done developing... Ctrl-C to stop Domoticz... then

Code: Select all

sudo service domoticz.sh start


...to go back to normal running, and switch back to regular browser window.