Luci-app update (stale js version shown in browser)

Hi all,

Im making a luci-app in js, but if I upload a new version of the js script on my router it keep displaying the old version until I reboot. I guess it is cached or compiled somehwere. Is there a quicker way to update?

Thx

Ramon

Clearing the browser cache and restarting the browser has helped me.

(and additionally I have also restarted the uhttpd web server in the router)

1 Like

You can (and probably should) disable luci cache, but also in some browsers (Chrome) if you open dev tools on the page, it can purge cache for that page. I believe there's a setting in Chrome to do that, it doesn't do that by default.

1 Like

Ah that sounds like the right way to go. How do i do that?

P. S. To make it more clear the page updates when i reboot the router, going to a different browser did not help.

Thx