Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
Why Won't My Page Display As I Wrote It?
Part 2: Forcing Your Pages to Always Load from the Server
 More of this Feature
• Part 1: What is a Cache
• Part 2: Load From the Server
 
 Related Resources
• Clear IE Cache
• Clear NS Cache
• Web Caching Links
 
 From Other Guides
• Mac Support: Clearing Your Mac Cache
• Mac Support: Proxy/Cache Servers  
 Stay Up-to-Date
  with Web Design
  Email:
  

By Jennifer Kyrnin

If you are concerned about caching for your readers, there is a way to tell their browsers to not cache a page, or even indicate how long to cache the page. This way, you can control how the browsers display your pages.

This is done with a meta tag:

<meta http-equiv="expires" content="0">

Setting the content to "0" tells the browsers to always load the page from the Web server. But you can also tell the browsers how long to leave a page in cache. Instead of "0" you write the date, including time, that you would like the page to be reloaded from the server. Note, the time should be in Greenwich Mean Time:

<meta http-equiv="expires" content="Thu, 19 Oct 2000 00:00:00 GMT">

First page > What is a Web Browser Cache? > Page 1, 2

Previous Features

Explore Web Design / HTML

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.