Forum Moderators: phranque

Message Too Old, No Replies

Cache pages

         

TRACEYR

1:24 am on May 30, 2002 (gmt 0)

10+ Year Member



My web pages do not use a cache version they keep going to the server and getting new copy, is there something i have to code into my html pages,,,also there is no proxy server shold i have this installed.

jdMorgan

7:34 pm on May 31, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



TRACEYR,

Welcome to wmw!

Cache behavior depends on:

Your local browser settings
Your local proxy (if any) settings
Settings of any other intervening caches on the 'net.
-and-
Any cache-control meta information in the <head> section of your pages, such as <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
-and-
Your site's server settings, specifically any cache-control directives that modify the HTTP header sent with your web pages.

You might want to check the cacheability of your pages using the tools at web-caching.com
(not affiliated)

Hope this helps!
Jim

keyplyr

1:48 am on Jun 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Caching helps to serve pages faster, however many webmasters don't want their pages cached. Serving a 'fresh' page insures that the most recent updates are viewed by the user.

But your pages are being cached in the user's browser even though you are not alerted to this. Most IPs are also caching your pages, but their is no way to tell just how many. These visitors may not even show up in your server logs since they are not requesting the files that are cached elsewhere.

TRACEYR

10:05 pm on Jun 2, 2002 (gmt 0)

10+ Year Member



What is the best way to do this

Use html (and use meta tag)

or use shtml or ASP.

PsychoTekk

7:30 am on Jun 3, 2002 (gmt 0)

10+ Year Member



proxies do not parse the body of a document, so if you use meta-tags
it will not influence the cachingbehaviour of a proxy in any way.
cgi scripts is a good solution (i'm sure asp has the same possibilities
regarding headers)

richlowe

2:26 pm on Jun 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In Windows servers running IIS you can use ASP or just set the HTTP headers directly on the object (page, directory or entire site). I prefer the second method, since it requires no scripting or coding or anything.

Richard Lowe