Dab tsi yog qhov tso zis caching hauv IIS?
Dab tsi yog qhov tso zis caching hauv IIS?

Video: Dab tsi yog qhov tso zis caching hauv IIS?

Video: Dab tsi yog qhov tso zis caching hauv IIS?
Video: TUDev Tech Talk с профессором Борой Озкан - Финтех и будущее финансов 2024, Kaum ib hlis
Anonim

Kev Pabcuam Xov Xwm Hauv Internet ( IIS ) suav nrog ib tso zis cache feature uas tau cache dynamic PHP cov ntsiab lus (los yog tso zis los ntawm koj lub Microsoft® ASP. NET lossis classic ASP, lossis lwm nplooj ntawv dynamic) hauv nco. Cov cache kuj koom nrog Http. sys kernel-mode tsav tsheb, txhim kho kev ua haujlwm.

Ib yam li ntawd, nws yog nug, dab tsi yog qhov tso zis caching?

Tso zis caching yog txoj hauv kev zoo tshaj plaws los txhim kho nplooj ntawv ua haujlwm. Cov tso zis cache khaws tag nrho cov cai ntawm nplooj ntawv, piv txwv li HTML thiab tus neeg siv tsab ntawv uas tus neeg rau zaub mov xa mus rau browsers rau rendering. Thaum tus qhua saib ib nplooj ntawv, tus neeg rau zaub mov caches tus tso zis code hauv daim ntawv thov nco.

Ib yam li ntawd, kuv yuav tshem kuv cov cache ntawm IIS li cas? Txhawm rau tshem tawm tag nrho cov khoom cached siv UI

  1. Tua tawm IIS Manager.
  2. Xaiv tus neeg rau zaub mov hauv kev pom ntoo navigation.
  3. Ob-nias Daim Ntawv Thov Routing Cache.
  4. Hauv Cov Haujlwm pane, nyem Delete All Cached Objects.
  5. Hauv qhov kev pom zoo dialog box, nyem Yes.

Ua kom qhov no saib, dab tsi yog qhov tso zis caching hauv asp net?

ASP . NET MVC - Caching . Cov tso zis cache enables koj mus cache cov ntsiab lus xa rov qab los ntawm kev tswj xyuas. Tso zis caching Yeej tso cai rau koj khaws cov tso zis ntawm ib tus maub los tshwj xeeb hauv lub cim xeeb. Li no, ib qho kev thov yav tom ntej los rau tib qho kev txiav txim hauv tus tswj hwm ntawd yuav raug xa rov qab los ntawm cached tshwm sim.

IIS cache khaws cia nyob qhov twg?

Qhov chaw ntawm cov no cache cov ntaub ntawv sib txawv raws li OS version ntawm lub web server tshuab, lub IIS version, thiab cov. NET version.

NET 4.0, qhov chaw yuav yog:

  • C:WindowsMicrosoft. NETFrameworkv2.
  • C:WindowsMicrosoft. NETFrameworkv4.
  • C:WindowsMicrosoft. NETFramework64v2.

Pom zoo: