IIS網站伺服器性能優化攻略
- 2019 年 10 月 3 日
- 筆記
Windows Server????????????Internet Information Server?IIS?????????????????????????????????????IIS?????????Web?????????? IIS????????????????????????????????????????????????IIS????
????????????Windows Server 2003?IIS6.0?????????Mozilla Firefox 3.0?????Yahoo?YSlow???
??YSlow? Yahoo????????????Firebug???????????????????????????????????????????????? ??????????????????????????????????????????IIS?????????YSlow??
???????YSlow?Firefox???????????YSlow?????Performance?
????Performance Grade?YSlow????????A?100??????F???????????????????IIS 6.0?????????????????
??1???HTTP????
????????????????????CSS?JS????????????CSS/JavaScript???IIS???????
??2???CDN
??????????????????????????????????????????????????
??3???????
???????????????????????????????????????CSS?JavaScript????????????IIS???? ?????-HTTP?????????????30??????????????????????????????????????????????? ???????CSS?JS??????????????????????????????
??4???Gzip??
??HTTP????Web????????????????????HTTP????????????Gzip???HTML?JavaScript? CSS????????????????????????????????????????
??????????“??”->“??”???“??”??“HTTP??”????“??????”?“????”???????????????
?????IIS???????“Web????”->“??????Web????”??“???”???“HTTPCompression”?? ?“?????”?C:WINDOWSsystem32inetsrvgzip.dll???Windows????????????????? ??“?????????”?
??????????????C:WindowsSystem32inetsrvMetaBase.xml??HcFileExtensions? ??????????????????HTML?TXT?????????js?css?????????ZIP??????????
??5??????????
???????HTML?????????CSS?????HTML??????
??6??????????
????????HTML?????????JavaScript?????HTML??????
??7???CSS???
??????????????????CSS????
??8??????JavaScript?CSS
??????JavaScript?CSS??????????????????????????????????????????????
??9???DNS??
?????DNS????????????????????????????????????????2-4???????????????????
??10???JavaScript??
????????????????????????????????JavaScript??????????????GUI???JS????????
??11??????
????????????????????????????????????
??12???????
?????????????JavaScript??????????????????????????
??13???ETag
???????????????????????ETag?????HTTP???????????????????????IIS 6.0?????????????????remetag??ISAPI????????ETag????
???????????????WEB??????????????????????????????????????YSlow????????????????????????????????????????????????????????????