Closed Bug 1671678 Opened 4 years ago Closed 4 years ago

'Cache-control: no-store' is not properly honoured

Categories

(Core :: Networking: Cache, defect)

Firefox 81
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: tom.f, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

Received an HTTP response with the header 'Cache-Control: no-store' and the response was still cached in the memory section of the Firefox cache. The no-store was only honoured when 'Cache-Control: "no-store"' was delivered with the parameter in quotes.

Actual results:

Cached results were found in the browser cache with the HTTP header 'Cache-Control: no-store'. See attached screenshot.

Expected results:

The Firefox browser should honour the 'Cache-Control: no-store' header without quotes being required.

This is also stated as the expected results in the Mozilla develop documentation: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

Version: Firefox 83 → Firefox 81
Group: firefox-core-security → core-security
Component: Untriaged → Networking: Cache
Product: Firefox → Core
Group: core-security → network-core-security

As explained by our own :bz in https://stackoverflow.com/a/15215793

if the data is no-store, it will put the cache entry in memory, not on disk, as requested.

The image shows the entry being in-memory, so I'm closing this as INVALID.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
See Also: → 619376
Group: network-core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: