1,apache
The browser will cache static files by default. If it is found that there is no
找到<IfModule mime_module>
Comment the code below
#AddType text/html .shtml .html .htm
#AddOutputFilter INCLUDES .shtml .html .htm
disable cache
Open
LoadModule headers_module modules/mod_headers.so
Add to
<IfModule mod_headers.c>
#Disable caching for index files
<FilesMatch "index.(html|htm)$">
header unset ETag
header set cache-control "no-store"
</FilesMatch>
</IfModule>