Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Cache STOPING 1

Status
Not open for further replies.

bluesauceuk

Programmer
Jan 1, 2001
73
GB
Can anyone help?

Mark
 
To stop a page caching, insert the followin lines at the top of your .cfm file:

Code:
<META http-equiv=&quot;Expires&quot; content=&quot;Now&quot; >
<META HTTP-EQUIV=&quot;pragma&quot; CONTENT=&quot;no-cache&quot;>
<CFHEADER Name=&quot;Expires&quot; Value=&quot;#Now()#&quot;>
<CFHEADER NAME=&quot;cache-control&quot; VALUE=&quot;no-cache, no-store, must-revalidate&quot;>
Note only use the top two lines on a .htm file

Richard
 
Good work RichardBro. Looks like those lines came right out of the Certified CF Developer Study Guide... isn't that book an awsome resource!?

bluesauceuk id highly recommend getting a copy.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top