Add a refresh cache button Topic is solved
Moderators: leecollings, remb0
- leecollings
- Posts: 167
- Joined: Tuesday 30 June 2015 18:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: United Kingdom
- Contact:
Add a refresh cache button
Would it be an easy task to add an 'Clear Cache' button to the Setup dropdown menu?
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Add a refresh cache button
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
Why would you need this? If you are developing, then add a startup parameter -nocache
Quality outlives Quantity!
- leecollings
- Posts: 167
- Joined: Tuesday 30 June 2015 18:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: United Kingdom
- Contact:
Re: Add a refresh cache button
How exactly can this be done? What files need to be edited?gizmocuz wrote:If you are developing, then add a startup parameter -nocache
-
- Posts: 72
- Joined: Friday 11 March 2016 18:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Essex, UK
- Contact:
Re: Add a refresh cache button
I use option on Chrome which temporarily disables cache when development panel (Ctrl-Shift-I) is up. Works pretty well.
- bizziebis
- Posts: 182
- Joined: Saturday 19 October 2013 14:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8805
- Location: The Netherlands
- Contact:
Re: Add a refresh cache button
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.
- Marci
- Posts: 532
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Add a refresh cache button
On raspberry...leecollings wrote:How exactly can this be done? What files need to be edited?gizmocuz wrote:If you are developing, then add a startup parameter -nocache
Code: Select all
sudo service domoticz.sh stop
cd ~/domoticz
./domoticz -nocache
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.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
Who is online
Users browsing this forum: No registered users and 1 guest