Firefox does not expires the cache if given date is completed, every time file fetched from cache
I want use cache for particular time period, At the first time when hit the url all files (javascript, html, css) read server and save that files in browser cache for particular time. next time hit the url then files (javascript, html, css) fetch from the browser cache. but expire time is over the files get from server, It's working with the chrome but facing the issue with Firefox Version 60.0 (64-bit) and IE 11 browsers.
Cache entry information in Firefox cache detail key: https:/// fetch count: 47 last fetched: 2018-09-04 12:32:59 last modified: 2018-09-04 12:32:59 expires: 2018-09-04 12:33:29 Data size: 6962 B Security: This is a secure document.
Response headers response-head: HTTP/1.1 200 OK Content-Type: application/javascript Content-Length: 6962 ETag: "5a181ed7-1b32" Accept-Ranges: bytes Date: Tue, 04 Sep 2018 07:02:59 GMT Expires: Tue, 04 Sep 2018 07:03:29 GMT Cache-Control: must-revalidate Server: nginx/1.15.3 Last-Modified: Fri, 24 Nov 2017 13:29:59 GMT
All Replies (1)
These instructions should clear the cache when you close Firefox;
Type about:preferences#privacy<enter> in the address bar. The button next to History, select Use Custom Settings.
Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on Cache and Form And Search History
https://addons.mozilla.org/en-US/firefox/addon/empty-cache-button/
Empty Cache Button
Cache clearing made easy. One click.
.