Cov txheej txheem:

Kuv yuav ua li cas thiaj li pab tau zoo li qub compression hauv IIS?
Kuv yuav ua li cas thiaj li pab tau zoo li qub compression hauv IIS?

Video: Kuv yuav ua li cas thiaj li pab tau zoo li qub compression hauv IIS?

Video: Kuv yuav ua li cas thiaj li pab tau zoo li qub compression hauv IIS?
Video: kuv lub siab mob By zoo xyooj ( C.V ) 2024, Hlis ntuj nqeg
Anonim

Ua kom compression

  1. Qhib IIS Tus thawj tswj. Nyem rau Pib | Tswj Vaj Huam Sib Luag.
  2. Nyem rau ntawm koj lub tshuab. Ces muab ob npaug rau-nias rau ntawm qhov Compression icon nyob rau sab xis.
  3. Cov compression qhov rais qhib. Ntawm no koj ua tau pab kom compression rau cov ntsiab lus dynamic thiab zoo li qub cov ntsiab lus.
  4. Nyob rau sab xis ntawm lub qhov rais, nyem rau ntawm Thov.

Tom qab ntawd, ib tus tuaj yeem nug, Kuv yuav ua li cas thiaj li qhib gzip compression hauv IIS?

Qhib Compression hauv IIS

  1. Hauv IIS, right-click ntawm "Web Sites" node thiab nyem "Properties".
  2. Xaiv "Kev Pabcuam" tab.
  3. Nyem "Compress application files". (
  4. Kos "Compress static files".
  5. Hloov "Hloov ib ntus" (yog tias koj tsim koj tus kheej nplaub tshev).

Tsis tas li ntawd, HTML compression yog dab tsi? Compress koj HTML code, tab sis kuj inline JavaScript thiab CSS. HTML Compressor yog qhov kev pabcuam nkaus xwb compressing JavaScript code sib xyaw nrog PHP thiab lwm yam lus. Optimize WordPress, Joomla thiab Drupral cov ntsiab lus lossis ib qho PHP raws li cov qauv yooj yim, thiab kom koj CMS tsim cov khoom ua ntej optimized.

Kuj paub, Kuv yuav ua li cas thiaj li pab tau cov ntsiab lus dynamic compression hauv IIS 7?

Yuav Ua Li Cas Pab Kom Dynamic Content Compression ntawm IIS 7

  1. Los ntawm lub taskbar, mus rau Pib -> Cov cuab yeej tswj hwm -> Tus Thawj Saib Xyuas Neeg rau zaub mov.
  2. Nyob rau hauv lub vaj huam sib luag tus neeg rau zaub mov hierarchy, nthuav "Lub luag hauj lwm" thiab nyem "Web Server (IIS)"
  3. Hauv Web Server (IIS) vaj huam sib luag, nqes mus rau ntu "Role Services", thiab tom qab ntawd nyem "Add Role Services"

Kuv yuav paub li cas yog tias gzip tau qhib?

Koj ua tau qhia siv cov cuab yeej tsim tawm (F12). Mus rau Network tab, xaiv cov ntaub ntawv koj xav tshuaj xyuas thiab tom qab ntawd saib ntawm Headers tab ntawm sab xis. Yog koj yog gzip ua , ces koj yuav pom tias nyob rau hauv cov ntsiab lus-Encoding. Hauv qhov piv txwv no, slider.

Pom zoo: