Hi there,
I use Lovelace / floorplan, where the SVG is not showing an actual floor but some other content. Now, that SVG file (stored locally in config/www) may be updated by a tap_action which starts a server-side Perl script, which extracts relevant information from an external web site. So far, so good.
Once the perl script is done, the trouble starts:
- the browser does not automatically refresh the page - ok, I can live with that, it’s just another tap
- the browser caches the SVG file - ok, this is configurable in the browser
- the home assistant web server is caching the SVG file and does not see it has been updated.
I have surfed the web, asked ChatGPT, looked in this form, tried out every solution I could find. Nothing works.
Any help is appreciated!
Best regards,
Fry
Edit: since most of my setup refers to locally stored SVGs, I could live with switching off the home assistant caching completely. Although a solution that effects only this one floorplan SVG would be preferably. But I don’t know how to do either of these.