Cov txheej txheem:

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

Video: Kuv yuav ua li cas thiaj li pab tau cov ntsiab lus dynamic compression hauv IIS 7?

Video: Kuv yuav ua li cas thiaj li pab tau cov ntsiab lus dynamic compression hauv IIS 7?
Video: UA KAWG PEEV XWM -May maylee [official] New Song/MV/VDO 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 dynamic cov ntsiab lus thiab zoo li qub cov ntsiab lus .
  4. Nyob rau sab xis ntawm lub qhov rais, nyem rau ntawm Thov.

Kuj kom paub yog, Kuv yuav ua li cas rau nruab cov ntsiab lus dynamic compression hauv IIS 7?

Hauv Web Server ( IIS ) vaj huam sib luag, scroll down mus rau "Role Services" seem, thiab tom qab ntawd nyem "Add Role Services" Ntawm nplooj ntawv "Select Role Services" page ntawm "Add Role Services Wizard", xaiv " Dynamic Content Compression ”thiab tom qab ntawd nyem “Next”

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.

Ua li no, kuv yuav ua li cas thiaj li pab tau 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).

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: