navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Proxy Server Cache

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> Proxy Server Cache
Page: [1]
 
William Lee

 

Posts: 1079
Joined: 1/25/2002
From: Singapore
Status: offline

 
Proxy Server Cache - 3/2/2002 14:45:57   
How do I prevent caching of web pages by proxy servers.

I am able to do this for my asp pages. But for static HTML pages, what needs to be put at the meta tags?

I am thinking of renaming all my pages with .asp just to facilitate no proxy cache. However, some FP Components don't work on pages with .asp extensions.



William Lee
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: Proxy Server Cache - 3/2/2002 15:07:15   
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
Will work for "most" proxy servers

Gil Harvey
The Host Factory
Resellers are our Specialty
Find a Web Professional


(in reply to William Lee)
William Lee

 

Posts: 1079
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: Proxy Server Cache - 3/2/2002 15:13:42   
quote:

<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
Will work for "most" proxy servers

Gil Harvey
The Host Factory
Resellers are our Specialty
Find a Web Professional





Is that it? I thought this is only for browser cache...I even had J-Bot no cache component but seems I can refresh the browser multiple times but the pages fetched are not the fresh modified pages.
I'll try again.


William Lee

(in reply to William Lee)
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: Proxy Server Cache - 3/2/2002 15:42:52   
That's it - take a look here: http://vancouver-webpages.com/proxy.html

or here:
http://www.w3.org/Jigsaw/User/api/w3c.www.http.HttpCacheControl.html

or if your a ASP person:

<%
Response.Expires = 15
Response.ExpiresAbsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "private"
%>

You can keep it in a file called nocache.inc on my root and just include it wherever you need it like this:

<!-- #include file="nocache.inc" -->


Gil Harvey
The Host Factory
Resellers are our Specialty
Find a Web Professional


(in reply to William Lee)
Page:   [1]

All Forums >> Web Development >> Server Issues >> Proxy Server Cache
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts