Closed Bug 172528 Opened 22 years ago Closed 22 years ago

Cache seems not to work correctly.

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: ulfjack, Assigned: darin.moz)

Details

Mozilla gets a "cache-control:public max-age: 86000"-response and does not cache
the file. It seems to put the file in the memory-cache, but it reloads it every
time anyway. In about:cache, it shows an expiration date of 1969 for that file.

The file is a background graphic for an html-page. The same goes for the
cascading style sheet.

If I set the cache-settings to "Never", mozilla caches all files, even those
marked as "cache-control: no-cache pragma: no-cache".

There are mixed cache/no-cache files on that server.
The entry for the cascading stylesheet looks like this:

fetch count:   154
last fetched:  Thu 03 Oct 2002 08:51:30 PM PDT
last modified: Thu 03 Oct 2002 08:49:28 PM PDT
expires:       Wed 31 Dec 1969 04:00:00 PM PST
Data size:     1430
Security:
This document does not have any security info associated with it.

Client:
HTTP
request-method:
GET
response-head:
HTTP/1.0 200 OK
Content-Type: text/css
Cache-Control: public
max-age: 86400
-> http

reporter: the header looks malformed... can you please provide a testcase?
Assignee: gordon → darin
Component: Networking: Cache → Networking: HTTP
the correct syntax for the header is: "Cache-control: public, max-age=86000"

marking INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Catching up.  Reopen if you disagree.  Marking Verified!
Status: RESOLVED → VERIFIED
QA Contact: tever → jimmylee
You need to log in before you can comment on or make changes to this bug.