Zum Hauptinhalt springen
So bleibt dein Unternehmen trotz COVID-19 geöffnetMehr erfahren
Rufe uns an
Telefonnummern und Uhrzeiten
Hilfecenter

Erkunde unsere Onlinehilfe

BlogHilfe

Windows Hosting (Plesk) Hilfe

Enable caching on my Windows Hosting account with clientCache

With our Windows hosting accounts, you can create caching rules to enhance your website's speed by using clientCache in your Web.config file.

Microsoft has instructions on implementing clientCache here, as well as more detailed information about the element here.

Example

Microsoft uses the following example code in a Web.config to enable caching:

<configuration>
   <system.webServer>
      <staticContent>
         <clientCache cacheControlMode="UseExpires"
            httpExpires="Tue, 19 Jan 2038 03:14:07 GMT" />
      </staticContent>
   </system.webServer>
</configuration>

This will cache the content you define as static until Jan. 19, 2038.