VA3HDL / hamdashboard

Customizable Dashboard for Ham Radio
https://youtu.be/sIdqMQTGNSc
MIT License
96 stars 57 forks source link

Image being cached in dashboard panel #10

Closed midair55 closed 3 months ago

midair55 commented 3 months ago

Dave (N2MXX) dashboard had this issue and he implemented a parameter in the panel definition to resolve the caching. I believe the change was made in v2.24

[ "Tide Table", "https://wave.marineweather.net/itide/tides/png/fl_trident_pier_port_canaveral.png" ],

The, "png" is automatically updated periodically but a manual or automatic refresh of the dashboard does not fetch the updated image.

Chrome Version 125.0.6422.142 (Official Build) (64-bit)

Great job!!! Steve - N5NG

VA3HDL commented 3 months ago

Hi Steve,

Let me try on my dashboard. If I can reproduce myself I will fix. The fix for this is easy.

73, Pablo, VA3HDL

VA3HDL commented 3 months ago

Hi Steve,

I wrote a workaround for image caching and tested with the one URL you provided. Is working fine for me. The only file you need to download and replace is hamdash.html

Make a copy of the old one in case you encounter any issues.

73, Pablo, VA3HDL

midair55 commented 3 months ago

Wonderful! Thank you for the quick fix!