Good morning,

I just experienced this same issue on Firefox. Chrome shows the correct 
date and graph.
In Firefox you can disable cache from right-click > Inspect > Network tab > 
"Disable Cache" checkbox (on the right).
With cache disabled, I refreshed the page and got the up-to-date graphs. 
Then I re-enabled the cache.

Here are the headers from the cached attempts (there was only a request 
header, no response):
GET /weewx/daybarometer.png HTTP/1.1
Host: REDACTED
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) 
Gecko/20100101 Firefox/133.0
Accept: 
image/avif,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Referer: https://REDACTED/weewx/

Here's the uncached attempt:
Request Headers:
GET /weewx/daybarometer.png HTTP/1.1
Host: REDACTED
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) 
Gecko/20100101 Firefox/133.0
Accept: 
image/avif,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Referer: https://REDACTED/weewx/
Connection: keep-alive
Sec-Fetch-Dest: image
Sec-Fetch-Mode: no-cors
Sec-Fetch-Site: same-origin
Priority: u=4
Pragma: no-cache
Cache-Control: no-cache

Response Headers:
HTTP/1.1 200 OK
Date: Tue, 07 Jan 2025 14:14:11 GMT
Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k
Last-Modified: Tue, 07 Jan 2025 14:10:18 GMT
ETag: "2040-62b1e4e10b3f2"
Accept-Ranges: bytes
Content-Length: 8256
Strict-Transport-Security: max-age=15768000
X-Frame-Options: ALLOW-FROM http://REDACTED/
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: image/png

On Wednesday, August 7, 2024 at 9:34:06 AM UTC-4 breph...@gmail.com wrote:

> BTW, same thing is happening with Firefox.. it's caching an image from a 
> week ago.  
>
> On Sunday, May 13, 2018 at 5:11:14 PM UTC-4 Richard Beare wrote:
>
>> OK - I'll keep an eye on it. I haven't noticed the same behaviour since 
>> then. It is also possible that chrome has been updated.
>>
>> On Mon, May 14, 2018 at 2:31 AM, 'Rich Altmaier' via weewx-user <
>> weewx...@googlegroups.com> wrote:
>>
>>> The next time you see a stale image, please try a screen capture of this 
>>> Chrome browser info:
>>>    -click on Chrome 3-dots menu and select MoreTools-Developer Tools
>>>    -then click the Network tab in the developer box.
>>>    -then click the URL bar refresh.
>>>    -the page repaints, and each of the image files is listed in the left 
>>> column.   
>>>    -set the browser to full screen and drag the vertical bar which is to 
>>> the left of the bar graphs to see more info on each filename.
>>>     -the "Size" field shows if the image was fetched, giving a size 
>>> number, or it says "(from memory", or "(from disk cache".  
>>>    -Click on the stale image filename, e.g. daytempdew.png.
>>>    -screen capture the information on Request Headers and Response 
>>> Headers
>>>
>>> That data should inform as to why the image is fetched or not!
>>> Rich
>>>
>>>
>>>
>>> On Monday, November 20, 2017 at 1:27:15 PM UTC-8, Richard Beare wrote:
>>>>
>>>> Hi,
>>>> I've had the following problems with weewx following a brief power 
>>>> outage. The system is a fineoffset station connected to a raspberry pi. 
>>>> The 
>>>> power cycle corrupted the database, but didn't appear to affect the 
>>>> station. I restored the database from a backup earlier in the week, and 
>>>> everything appears to be running fine. Missing data was fetched from the 
>>>> station, the panel on the left seems to be updating correctly. However the 
>>>> graphs are stuck on a single day. (2017/11/18). The weekly graphs are fine.
>>>>
>>>> I've confirmed the clock settings are OK, and I've upgraded to the 
>>>> latest version.
>>>>
>>>> I've tried the following using various combinations of backup 
>>>> databases: dumping newer than the day before the power outage, dropping 
>>>> and 
>>>> rebuilding summaries and deleting the png files. 
>>>>
>>>> At this point I'm starting to think I need to reinstall, but I hope I'm 
>>>> missing something basic. 
>>>>
>>>> Thanks
>>>>
>>>> Summary logs:
>>>>
>>>> Nov 21 08:21:11 raspberrypi weewx[23919]: manager: Added record 
>>>> 2017-11-21 08:20:00 AEDT (1511212800) to database 'weewx.sdb'
>>>>
>>>> Nov 21 08:21:11 raspberrypi weewx[23919]: manager: Added record 
>>>> 2017-11-21 08:20:00 AEDT (1511212800) to daily summary in 'weewx.sdb'
>>>>
>>>> Nov 21 08:21:11 raspberrypi weewx[23919]: reportengine: Running reports 
>>>> for latest time in the database.
>>>>
>>>> Nov 21 08:21:11 raspberrypi weewx[23919]: reportengine: Running report 
>>>> StandardReport
>>>>
>>>> Nov 21 08:21:12 raspberrypi weewx[23919]: reportengine: Found 
>>>> configuration file /home/weewx/skins/Standard/skin.conf for report 
>>>> StandardReport
>>>>
>>>> Nov 21 08:21:12 raspberrypi weewx[23919]: cheetahgenerator: using 
>>>> search list ['weewx.cheetahgenerator.Almanac', 
>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>>>> 'weewx.cheetahgenerator.Extras']
>>>>
>>>> Nov 21 08:21:12 raspberrypi weewx[23919]: manager: Daily summary 
>>>> version is 2.0
>>>>
>>>> Nov 21 08:21:12 raspberrypi weewx[23919]: restx: Wunderground-PWS: 
>>>> Published record 2017-11-21 08:20:00 AEDT (1511212800)
>>>>
>>>> Nov 21 08:21:24 raspberrypi weewx[23919]: cheetahgenerator: Generated 
>>>> 14 files for report StandardReport in 12.17 seconds
>>>>
>>>> Nov 21 08:21:24 raspberrypi weewx[23919]: manager: Daily summary 
>>>> version is 2.0
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: imagegenerator: Generated 12 
>>>> images for StandardReport in 4.18 seconds
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: copygenerator: copied 0 files 
>>>> to /home/weewx/public_html
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: reportengine: Running report 
>>>> FTP
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: reportengine: Found 
>>>> configuration file /home/weewx/skins/Ftp/skin.conf for report FTP
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: ftpgenerator: FTP upload not 
>>>> requested. Skipped.
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: reportengine: Running report 
>>>> RSYNC
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: reportengine: Found 
>>>> configuration file /home/weewx/skins/Rsync/skin.conf for report RSYNC
>>>>
>>>> Nov 21 08:21:28 raspberrypi weewx[23919]: rsyncgenerator: rsync upload 
>>>> not requested. Skipped.
>>>>
>>>>
>>>> sudo /home/weewx/bin/wee_device /home/weewx/weewx.conf --info
>>>>
>>>> Using configuration file /home/weewx/weewx.conf
>>>>
>>>> Using FineOffsetUSB driver version 1.9 (weewx.drivers.fousb)
>>>>
>>>> Querying the station...
>>>>
>>>> Fine Offset station settings:
>>>>
>>>>                     local time: 2017.11.21 08:26:19 AEDT
>>>>
>>>>                   polling mode: PERIODIC
>>>>
>>>>
>>>>                   abs_pressure: 1019.1
>>>>
>>>>                    current_pos: 21728
>>>>
>>>>                   data_changed: 0
>>>>
>>>>                     data_count: 4080
>>>>
>>>>                      date_time: 2017-11-21 07:23
>>>>
>>>>                  hum_in_offset: 8967
>>>>
>>>>                 hum_out_offset: 8465
>>>>
>>>>                             id: None
>>>>
>>>>                  lux_wm2_coeff: 0
>>>>
>>>>                        magic_1: 0x55
>>>>
>>>>                        magic_2: 0xaa
>>>>
>>>>                          model: None
>>>>
>>>>                      rain_coef: None
>>>>
>>>>                    read_period: 5
>>>>
>>>>                   rel_pressure: 1020.0
>>>>
>>>>                 temp_in_offset: 5896
>>>>
>>>>                temp_out_offset: 514
>>>>
>>>>                       timezone: 16
>>>>
>>>>                     unknown_01: 0
>>>>
>>>>                     unknown_18: 1
>>>>
>>>>                        version: 255
>>>>
>>>>                      wind_coef: None
>>>>
>>>>                      wind_mult: 0
>>>>
>>>>
>>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/weewx-user/Qkb5l9fjk9Q/unsubscribe.
>>>
>> To unsubscribe from this group and all its topics, send an email to 
>>> weewx-user+...@googlegroups.com.
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/519f0c99-7111-45bb-9b0f-a44b72c3580en%40googlegroups.com.

Reply via email to