Closed
Bug 75709
Opened 23 years ago
Closed 23 years ago
expires header not honored, gets cached copy
Categories
(Core :: Networking: HTTP, defect, P2)
Core
Networking: HTTP
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: dxrobertson, Assigned: darin.moz)
References
()
Details
(Keywords: regression, Whiteboard: r=gordon, sr=dougt, a=asa)
Attachments
(1 file)
2.29 KB,
patch
|
Details | Diff | Splinter Review |
Using build id 2001041200, win nt. See bug from long ago - 26207. This has re-appeared at some point since the new cahce was implemented. I was the original reporter of this bug and it is happening again here on our intranet. Visit slashdot to demonstrate. I am not sure what method slashdot uses to force a refresh from the server instead of the cached copy (whether they use an expires header or not), but regardless; mozilla graps the cached copy when visiting slashdot. NS 4.x always goes to server.
Comment 1•23 years ago
|
||
The headers sent by slashdot.org: HTTP/1.1 200 OK Date: Thu, 12 Apr 2001 13:41:06 GMT Server: Apache/1.3.12 (Unix) mod_perl/1.24 Connection: close Content-Type: text/html
Comment 2•23 years ago
|
||
Reporter try creating a new profile and downloading the latest nightly? Does that fix the problem? Report back either way. Thanks in advance.
Reporter | ||
Comment 3•23 years ago
|
||
I have tried this on build id 2001041520 and 2001041704, fresh installs and profiles, in winnt and linux and it still seems to be a problem. The page seems to be refreshing from the cache when i hit enter from the url to access the page. If hit reload, it gets the page properly from the server. NS4.7 and IE load the page from the server always. The access_log from the server shows an entry for NS and IE everytime, and mozilla only on a browser reload. Doing a page-info from NS (View, Page Info) shows the Expires as Wednesday, December 31, 1969 7:00:01 PM. I changed the cache setting in mozilla to Everytime I View the Page and it then loads from the server each time.
reporter, what is your page validation preference set to in the Preferences/ Advanced/Cache panel?
Assignee: gordon → darin
Component: Networking: Cache → Networking: HTTP
Reporter | ||
Comment 5•23 years ago
|
||
the "compare the page in the cache to the page on the network" is set to Once per session.
Assignee | ||
Comment 6•23 years ago
|
||
with a cache validation setting of once-per-session, the cached copy will only be refreshed once per session, so if it was created during this session, then future requests for it will always get the cached copy. i don't see how this is a bug.
Reporter | ||
Comment 7•23 years ago
|
||
The html page contains an EXPIRES header with a date in the past. It is my understanding that the browser is to use this header information and not get the cahced copy, but go to the server because the cached copy has expired (regardless of the browser cache setting). The other browsers (IE, NS4.7) work this way. I dont know much about the EXPIRES header and what is standard and not standard, but we have always used this header to force the browser not to use the cache and always go the server to get a possible updated page (the page is java servlet generated and generally, it has changed). Please see the original bug #26207. I guess it comes down to standards and the intent of the EXPIRES header and if I am using it correctly?
Assignee | ||
Comment 8•23 years ago
|
||
can you give an url to the content exhibiting this problem, thanks!
Reporter | ||
Comment 9•23 years ago
|
||
http://drobertson.com/servlet/ExpireTestWithHeader.
Assignee | ||
Comment 11•23 years ago
|
||
-> mozilla0.9.2
Status: NEW → ASSIGNED
Keywords: 4xp,
regression
OS: Windows NT → All
Hardware: PC → All
Target Milestone: --- → mozilla0.9.2
Assignee | ||
Updated•23 years ago
|
Priority: -- → P2
Assignee | ||
Comment 12•23 years ago
|
||
Comment 13•23 years ago
|
||
r=gordon
Comment 14•23 years ago
|
||
looks fine to me. sr=
Assignee | ||
Updated•23 years ago
|
Whiteboard: r=gordon, sr=dougt, a=?
Comment 15•23 years ago
|
||
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Blocks: 83989
Assignee | ||
Updated•23 years ago
|
Whiteboard: r=gordon, sr=dougt, a=? → r=gordon, sr=dougt, a=asa
Assignee | ||
Comment 16•23 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 17•23 years ago
|
||
verified: win NT4 2001080103 Linux rh6 2001080106 mac os9 2001080108
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•