Firefox doesn't clear all cached files with Ctrl+F5
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: bugzil.la, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- Create a server that serves PDF/ODT files with Cache-Control: public, max-age=864000
- Put a link on site on the same server,
- Download the file
- Change content of the PDF/ODT file
- Press Ctrl+F5
- Download the PDF/ODT again.
Actual results:
Firefox shows old version of PDF/ODT file
Expected results:
Firefox should remove all cached files related to the domain and show updated PDF/ODT file.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Hello Mozira,
Is there a public link for us to validate? Thanks.
For the moment no, because on my server noone (except me) can modify PDF files.
- Create blank page with only one link to PDF (index.html)
<a href="any.pdf">Click</a>
- Add in .htaccess header "Cache-Control: public, max-age=864000" for all PDFs
- Put on server any.pdf
- modify PDF on server, use Ctrl+F5 in browser and click the link (perform several times this action).
It is very easy after installation of EasyPHP on local computer (the domain can be 127.0.0.1 - the bug is also present).
Comment 3•4 years ago
|
||
From comment 2, the page you hard refreshed is the page with link, not the download file.
How to "refresh" download files? Another shortcut or should be refresh (removed from cache) all domain files?
Comment 5•4 years ago
|
||
This following SUMO link is the solution to the best of my knowledge.
https://support.mozilla.org/en-US/kb/how-clear-firefox-cache
Thanks for reporting this.
Description
•