AqualinkD
AqualinkD copied to clipboard
config.js changes don't seem to change
I've tried to customize my interface by following the instructions here https://github.com/sfeakes/AqualinkD/wiki#aqualinkd-web-ui-configuration, but I do not see any changes in the UI. I've made changes in the /var/www/aqualink directory as well as the source to see if that helped, but nothing changes after a restart of the service or reboot of the system?
AqualinkD tells the web browser to use Very heavy caching, my guess is the browser is using a cached version for config.js. So delete browser cache and/or put browser into developer mode (so it doesn’t cache) while your playing with that file.
I’ll make a note of that the wiki, I should have noted that.
BTW only /var/log/aqualinkd is used when running, no need to edit version in home directory.
Yup... that worked! Sorry for the alarm. Interesting that the caching does not affect the other dynamic data, only the layout.
Dynamic content is sent over a websockets, so not your normal http connection (which is why updates are instant and not polled). And browser can’t cache websockets data. So that’s the main reason why. But also Anything on the file system (/var/www/AqualinkD), AqualinkD tells browser to cache heavily anything its creates on the fly It tells the browser not to cache.