Hi All, Again, semi-unusual use case, but I'm trying to re-plot data from my solar system for a particular date using wee_reports. Everything generates OK, but pulling up the web page hasn't refreshed the plots, only the rest of the data. I'm assuming this is a browser caching problem. Since clearing the browser cache isn't free (side effects), I'm wondering if there's a way to include an argument in the href to 'break' browser caching? I did this with my seismometer pages like this: <a href="myshake/gifs/RD066_EHZ_AM_00.2023101512.gif?v=1697414430"> day </a></small></td> The v=<epoch> breaks the cache in that the image updates regularly (for 12hrs), but before this, a basic browser refresh wouldn't update the image. After that, the problem was resolved. A browser refresh would indeed pull up the updated plot.
In this problem case, this is the image href that's generated: <img src="daySolarPower.png" alt="daySolarPower"/> hence the caching issue. I'm game to try to fix this given a few hints. It sure seems like this question has come up before for regular weather plots, but can't recall how it was addressed. I checked my regular weather site, and didn't see anything about browser hints to not cache data. Thx, Chris -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5b75bcdd-4b56-4183-9d43-810903258e20n%40googlegroups.com.
