Make sure TRR requests don't use the HTTP cache
Categories
(Core :: Networking: DNS, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: valentin, Assigned: valentin)
References
Details
(Whiteboard: [necko-triaged][trr])
Attachments
(1 file)
TRR requests should bypass the HTTP cache (because of the overhead) but it seems we only do it for private browsing
Assignee | ||
Comment 1•6 years ago
|
||
So, the odd thing here is that the we only set the nsIRequest::INHIBIT_CACHING
flag for private browsing. Clearly we should set it for all channels, right? In nsIRequest.idl it states: This flag prevents caching of any kind. It does not, however, prevent cached content from being used to satisfy this request.
so there's still the worry that it will be looking for a cache entry, which will cause a delay.
However, it seems we also bypass the cache when Cache-Control: no-store
is set, which is always (for POST requests). So probably this was only affecting GET requests, which is non-default.
I'll file a patch soon that fixes the flags so we don't cache TRR get requests either.
Assignee | ||
Comment 2•6 years ago
|
||
Comment 4•6 years ago
|
||
bugherder |
Description
•