Closed Bug 1197790 Opened 10 years ago Closed 10 years ago

"Expires" header is ignored, no caching occurs

Categories

(Core :: Networking: HTTP, defect)

40 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: oev.nsk, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150812163655 Steps to reproduce: Server send following exact response to the some GET request: HTTP/1.1 200 OK Connection: keep-alive Expires: Mon, 06 Jan 2020 05:00:00 GMT Content-Length: some data size Actual results: Firefox 40 use no caching and requests this data each time from the server. Expected results: It must always return cached data. Firefox 39 do this correctly.
Severity: normal → critical
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Find an online cache test, that fails on FF40 but behave correctly on Opera and IE11 http://refreshyourcache.com/en/cache-test/
Severity: critical → normal
Component: Untriaged → Networking: HTTP
Product: Firefox → Core
Flags: needinfo?(honzab.moz)
honza?
I don't understand how the test referred in comment 1 works. Can you please tell me how the test is expected to behave and how do I recognize it doesn't behave correctly?
Flags: needinfo?(honzab.moz) → needinfo?(oev.nsk)
the test looks fine to me.. if test.php is loaded twice it comes from the cache if you hit reload then you get a 304 with a cache-control no-cache on it which impacts things down stream..
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(oev.nsk)
You need to log in before you can comment on or make changes to this bug.