Cache Control

S

Simon Wigzell

I have some server side database display code in a webpage. I would like the
definitive answer to the question : How do I ensure that the latest version
of the page is always displayed? I'm using this in the <head></head> area ::

<meta HTTP-EQUIV="Expires" CONTENT="0">

The intent is that every time the page is loaded of refreshed the browser
will check if there is a newer version on the server. It doesn't work. In
frustation I've removed every file from the directory in question and STILL
it is displaying an old cached version. You'd think it would be the simple
and obvious and default behaviour e.g. "ALWAYS DISPLAY THE LATEST VERSION OF
MY WEBPAGE!". What more can I do?

Thanks!
 
J

Jim Cheshire

Simon,

Several tags have to be added for this to work in the majority of cases.

Paul Colligan has a very nice tool for controlling these Meta tags on his
Web site. Here's the URL:

http://www.frontpageworld.com/cmd.a...getools/frontpagetools/frontpagepowermeta.htm



I'm not sure what version of FrontPage you're using, but as far as I know,
this is the only Meta tag tool that will work without problems on FrontPage
2003.


--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
 
M

MD WebsUnlimited.com

Hi Simon,

Take a look at Meta Tag Maker under the Page Control tab.

http://www.websunlimited.com/order/Product/MTM2002/mtm2002_help_dir.htm

We are running a special offer on MTM this month. Use the Promo code MTMFEB
and get it for $20.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to add Meta Tags to your web pages NOW with Google Bot controls.
http://www.websunlimited.com/order/Product/MTM2002/mtm2002_help_dir.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
 
S

Stefan B Rusynko

Try adding
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="Nocache">




| I have some server side database display code in a webpage. I would like the
| definitive answer to the question : How do I ensure that the latest version
| of the page is always displayed? I'm using this in the <head></head> area ::
|
| <meta HTTP-EQUIV="Expires" CONTENT="0">
|
| The intent is that every time the page is loaded of refreshed the browser
| will check if there is a newer version on the server. It doesn't work. In
| frustation I've removed every file from the directory in question and STILL
| it is displaying an old cached version. You'd think it would be the simple
| and obvious and default behaviour e.g. "ALWAYS DISPLAY THE LATEST VERSION OF
| MY WEBPAGE!". What more can I do?
|
| Thanks!
|
|
 
S

Simon Wigzell

Stefan B Rusynko said:
Try adding
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="Nocache">




| I have some server side database display code in a webpage. I would like the
| definitive answer to the question : How do I ensure that the latest version
| of the page is always displayed? I'm using this in the <head></head> area ::
|
| <meta HTTP-EQUIV="Expires" CONTENT="0">
|
| The intent is that every time the page is loaded of refreshed the browser
| will check if there is a newer version on the server. It doesn't work. In
| frustation I've removed every file from the directory in question and STILL
| it is displaying an old cached version. You'd think it would be the simple
| and obvious and default behaviour e.g. "ALWAYS DISPLAY THE LATEST VERSION OF
| MY WEBPAGE!". What more can I do?
|
| Thanks!
|
|
Thanks Jim, I'll check that out.
No thanks MDWebsUnlimited, you shouldn't be selling stuff here. I just need
some advice so that I can do it for myself.
Stefan - wouldn't this :
<meta http-equiv="Pragma" content="Nocache">
mean that the cache is never used? That would be overkill, I Want it say -
"go ahead and cache it, just check back to see if there is a more recent
version before you use the cache!
 
S

Simon Wigzell

Stefan B Rusynko said:
Try adding
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="Nocache">




| I have some server side database display code in a webpage. I would like the
| definitive answer to the question : How do I ensure that the latest version
| of the page is always displayed? I'm using this in the <head></head> area ::
|
| <meta HTTP-EQUIV="Expires" CONTENT="0">
|
| The intent is that every time the page is loaded of refreshed the browser
| will check if there is a newer version on the server. It doesn't work. In
| frustation I've removed every file from the directory in question and STILL
| it is displaying an old cached version. You'd think it would be the simple
| and obvious and default behaviour e.g. "ALWAYS DISPLAY THE LATEST VERSION OF
| MY WEBPAGE!". What more can I do?
|
| Thanks!
|
|
err...no thanks Jim, you are trying to sell me something too? What is the
world coming to? Penis Patches and spam everywhere and a fascist in the
Whitehouse and news groups I've been using for years are now full of
spammers...can we go back to a world where something other than money and
the size of your penis matter????
 
T

Thomas A. Rowe

Simon,

See:

http://www.mnot.net/cache_docs/

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Top