I want to forcibly save my a.css file. the method I used is to modify the httpd of apcache. conf. the code is as follows: {code ...} debugging found that cache-control has been correctly set: but still does not work: ideally, 200 is returned, and then the Size is fromcache. puzzling...
I want to forcibly save my a.css file.
The method I used is to modify httpd. conf of apcache. the code is as follows:
LoadModule headers_module modules/mod_headers.soheader set cache-control "max-age=1000"
Debugging found that cache-control has been correctly set:
But it still does not work:
Ideally, 200 is returned, and the Size is from cache.
Puzzling...
Reply content:
I want to forcibly save my a.css file.
The method I used is to modify httpd. conf of apcache. the code is as follows:
LoadModule headers_module modules/mod_headers.soheader set cache-control "max-age=1000"
Debugging found that cache-control has been correctly set:
But it still does not work:
Ideally, 200 is returned, and the Size is from cache.
Puzzling...
Different refresh actions may result in different results:
Enter the address bar:Read cache when Browser cache is availablefrom disk cache
F5/ctrl + r:Requests are sent to the browser in any case. if the resource does not expire, the system returns304
Ctrl + F5:Requests are sent to the browser in any case, and resources are forcibly returned.200
Thank you! right-click the chrome refresh button. You can also see the upstairs state.