OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
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.

Follow Us
On Facebook
On Twitter
RSS
Via Email

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

 

preventing caching

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

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

All Forums >> Web Development >> General Web Development >> preventing caching
Page: [1]
 
 
pj_eden

 

Posts: 1
Joined: 2/11/2009
Status: offline

 
preventing caching - 2/11/2009 13:34:13   
Hi, I am a relative newbie to web authoring. I am looking for a bit of java script or similar that either prevents caching or forces a page to get the latest version from the server when loading.

The reason behind this is that my site can have chnages made on an almost daily basis and I want to make sure my viewers get the very latest version of the page.

Thanks
TexasWebDevelopers

 

Posts: 761
Joined: 2/22/2002
From: Dallas, TX
Status: offline

 
RE: preventing caching - 2/11/2009 17:20:02   
This is really best done server-side.
If you do not have control of your server then you can do this on each web page:
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
This still does not prevent proxy servers from caching.

_____________________________

:)

Follow us on TWITTER

(in reply to pj_eden)
Page:   [1]

All Forums >> Web Development >> General Web Development >> preventing caching
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