UI Caching on the Volumio webapp

Hi,

I know that the volumio webapp runs locally but if you try opening the app in the mobile browser and pc browser, all the required files are served every time you refresh or load the page. It does not serve anything from cache. This is happening because the headers for cache-control is set to max-age: 0

I wanted to change it to some very long time. I am not able to find where should i do that change. I come from simple nodejs, express background and i am struggling to find the place to tweak it.

If I can do this … the performance would be snappier and it would really feel like a native app.

Thanks in advance,
Vivek

The UI is served using express-static and the MaxAge for the cache that you want to change should be added here (Volumio2/http/index.js)