apache响应报⽂头部设置转载:
Apache⾥配置 mod_expires 和 mod_headers 以⽀持CACHE
<IfModule mod_expires.c>
wantingExpiresActive On
ExpiresDefault "access plus 1 days"
澳大利亚格里菲斯大学ExpiresByType text/html "access plus 1 weeks"
ExpiresByType image/gif "access plus 2 months"
ExpiresByType image/jpeg "access plus 2 months"
ExpiresByType application/x-shockwave-flash "access plus 2 months"
ExpiresByType application/x-javascript "access plus 2 months"
</IfModule>shoot them
coin<IfModule mod_headers.c>
# YEAR
<FilesMatch "\.(flv|gif|ico|jpeg)$">
单词拼写电话销售的技巧Header t Cache-Control "max-age=2592000"
</FilesMatch>
# WEEK
<FilesMatch "\.(pdf|swf|js|css)$">
Header t Cache-Control "max-age=604800"儿童妆
</FilesMatch>
# DAY
<FilesMatch "\.(htm|html|shtml)$">
儿童有英语出纳和会计的区别
Header t Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
employee