Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006014 [Resin] minor always 08-15-16 19:53 11-10-16 15:00
Reporter nam View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.44
Summary 0006014: proxy-cache not showing updated files
Description (rep by mandrixx)

For a given max-age of T seconds, clients are never served the updated file until there is a period between requests that is greater than that timeout. In other words, requests were incorrectly refreshing the cache expiration timeout.

1. 200 - GET /test.xml
2. 304 - GET /test.xml with If-None-Match
3. update file
4. 304 - GET /test.xml with If-None-Match
...
N. 304 - GET /test.xml with If-None-Match
N+1. wait T-1 seconds
N+2. 304 - GET /test.xml with If-None-Match
N+3. wait T seconds
N+4. 200 - GET /test.xml with If-None-Match

At N+3, only by waiting greater than T seconds do you see the updated file.
Additional Information
Attached Files

- Relationships

- Notes
(0006713)
nam
08-15-16 20:01

server/2hdx
 
(0006714)
nam
08-15-16 20:19

Fix is ready and will be included in 4.0.50 (after 4.0.49).
 

- Issue History
Date Modified Username Field Change
08-15-16 19:53 nam New Issue
08-15-16 19:58 nam Description Updated
08-15-16 20:00 nam Description Updated
08-15-16 20:01 nam Note Added: 0006713
08-15-16 20:19 nam Note Added: 0006714
08-18-16 04:26 stbu Issue Monitored: stbu
11-10-16 15:00 ferg Assigned To  => nam
11-10-16 15:00 ferg Status new => closed
11-10-16 15:00 ferg Resolution open => fixed
11-10-16 15:00 ferg Fixed in Version  => 4.0.50


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker