Http cache images from grafana

  • Platform information:
    • Hardware: RPI3
    • OS: openhabian

loading grafana rendered graphs in BasicUI or the Android app takes about 6-10 seconds just for the rendering. That seems to be normal.
Is it possible to cache those images, maybe using the http binding ? I tried but could not find an example on how to cache images and use them later in the UI.

If I use a http.conf configuration


where would I find the cached image ?

Some people use a Rule with a cron trigger to pull down and save the image to the html folder periodically so the rendering time is spent in your Rules instead of your UIs. I don’t know the specifics of how they do it. I think they use executeCommandLine and wget or curl to pull down the image.