Gå direkt till huvudinnehållet

Windows Hosting (Plesk) Hjälp

Enabling Caching on Your Windows Hosting Account using 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.

Community-relaterat

WorldHealthSite's Avatar
mod_rewrite module on Windows Hosting (Plesk)

1 Svar

Last posted over 4 years ago.

Bramey351's Avatar
Enabling Caching Methods

4 Svar

Last posted over 4 years ago.

mdwpsyd's Avatar
Enabling mod_expires with Your Hosting Account

3 Svar

Last posted about 5 years ago.

brod40's Avatar
Caching on managed Wordpress hosting

4 Svar

Last posted almost 3 years ago.

Ser du inte vad du letar efter? Sök i Community