Setting cache-control on static folder?


Don’t know if this is the right place but I’m using the openHAB static folder to serve images, CSS en Javascipt files. That works fine, but the cache control seems to be set on “for ever”. So if you change the files on the static folder the browser will keep using the old ones. On a laptop the ctrl+R button solves this but on an tablet/phone this is no option. So I would like to change this “forever” default to a shorter time. But how to do this? The internet shows solutions by using the .htaccess file but openHAB doesn’t seem to use it. Other option is changing the jetty.xml file but the examples I find are very different from the openHAB jetty.xml (example below).

Anyone know the solution?


(Setup is standard Rasbian on a Raspberry PI 4)