???????????£?HTTP????????????????е????????????????????????????????Cache-Control: public?????????乫?С?HTTP 1.1?????????????????????????檔

??????????????Щ?????????????????????????£???????????Cache-Control: public??no-cache??????????????????????????????????????????????????????????????????????????????

????Cache-Control: public?? no-cache

?????????????????С???????????;???磬?????????У????????????????????У?????????????????????????????????????Щ??????????????????

??????????????????????????????????????????

????SSL??治??????????????棬????????????????????????????????÷?SSL??????????URL???????????????????????????????????????????????????????????URL?С?

???????????κ??????????????????????????????????????????????CGI ⑫????и????????????????????????????URL????У???????????????????????????????

?????????????????????Щ????????????????????е??κξ????

????⑫CGI???????????(Common Gateway Interface). ???????????????????????????????????????Web??????????????????????????????

????????????????????γ?????????????????????????HTML????????????CGI?????????????????WEB???????е???г????? ????????????HTML?????????????????????????????е?????????HTML?;??CGI????????????????????????????????????????? ??????CGI?????????????CGI??????ò???????????????????

???????????????????Web???????????????Щ????????

?????????????????????????????????????檔???????????е??????????????????????У??????????????????????????????????????????????????????ο??????????????

?????????????????o???????????????!

????Expires???????????????????(????????????)???????????????????渱????????á?

??????Ч??????????????????????????????????????????????????????????????????????????????????????????????????????????????????棬?????????????????????(???????????????URL???Add)????????

????????????????????棬???????????????????????(??FireFox?У?shift??+reload???????????Pragma: no-cache?????)?????????????????Щ???????????

?????????????Web Hosting??????????????????????????????????????

????????????apahe????????????????????.htaccess?????????????????

????????????????????????????????????????????????????????磺?????????????/cache-1m???????????????????????μ???????????????/no-cache?????????????????????????е???????????檔

????????????????????Σ??????????????????????????洦???????????????????????????????????????????????

???????????????????ú???棬???????????????????

????????????????????????????????????????Щ?????£???????????治?????????е??????????????????????С??????(???????…)????????????? ?????????????λ??檔??????????????????????????????檔??Щ???????????????????????Щ??????洢????Щ???????????????????滺?? ?У???????????????????

??????????????Web????????

???????????????????°汾??Web???????????????????????????????????????????????°汾?????????????????涼?к???????

????Apache HTTP??????

????Apache?????????????????????Expires??Cache-Control???????????Щ?????1.2?汾?????????

??????Щ??????????Apache?У??????????????????δ??????????????????????????????httpd⑬????????httpd -l?? ?????г?????????(???????????????????б????????????°汾??Apache?У????httpd -M??????????????????N)????????????????expires???(expires_module)??headers???(headers_module)??

????⑬httpd??httpd??Apache?????????Э??(HTTP)??????????????????????????????е??????????????????????????????????????

?????????Щ??鯔???????????????????????±??????????Щ??顣??Щ????????????????????е???????????????????????????-enable -module=expires??-enable-module=headers????(apache 1.3+). ?ο?Apache?е?INSTALL?????

??????????Apache???????????飬????????mod_expires???????????????.htaccess????????????????access.conf?????????????ù??????????????儷?????????????儷???????????????????????????????á?????????????????????????????????????????????????apache???????

????????Cache-Control???????????mod_headers??飬????????????????????????????ο?mod_headers????????

??????????.htaccess???????????????????

????.htaccess???????Web?????????????????е??????????????????????????????????????????????£??????????????á?

????### activate mod_expiresExpiresActive On### Expire .gif's 1 month from when they're accessedExpiresByType image/gif A2592000### Expire everything else 1 day from when it's last modified### (this uses the Alternative syntax)ExpiresDefault "modification plus 1 day"### Apply a Cache-Control header to index.htmlHeader append Cache-Control "public?? must-revalidate"