apache browser cache

 

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>

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326278488&siteId=291194637