Archive of UserLand's first discussion group, started October 5, 1998.

Re: Caching the home page

Author:James Spahr
Posted:12/15/1998; 10:37:29 PM
Topic:Caching the home page
Msg #:1311 (In response to 1300)
Prev/Next:1310 / 1312

You probably need one of these HTTP Headers:

Cache-Control: no-cache

-------------------------------------


Also, the server is not giving out an expires date. Netscape reports:

Expires: No date given

Here's the scoop from O'Rielly's on the HTTP EXPIRES header (chapter 19 - Webmaster in a Nutshell):

-------------------------------------


Expires

Expires: date

This header specifies the time when a document may change or its information becomes invalid. After that time, the document may or may not change or be deleted. The value is a date and time in a valid format as described for the Date header.

Date

Date: dateformat

Indicates the current date and time. The preferred date format is RFC 1123. For example:

Mon, 06 May 1996 04:57:00 GMT

For backwards compatibility, however, the RFC 850 and ANSI C asctime() formats are also acceptable:

Monday, 06-May-96 04:57:00 GMT Mon May 6 04:57:00 1996




This page was archived on 6/13/2001; 4:46:38 PM.

© Copyright 1998-2001 UserLand Software, Inc.