Home Guides Glossary

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.

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy