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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Don't Cache Page

Status
Not open for further replies.

tyrant1969

Programmer
Joined
Dec 13, 2004
Messages
68
Location
US
I have a CFM page that we are constantly tweaking.

We have template caching enabled on our server and the only way to get our new tweaks into place is dump the template cache.

Is there a way, a cf tag or header variable so that we can have this one specific page never be cached?
 
1) you could add
Code:
<cfheader name="Expires" value="#now()#">

2) hit the template with a URL variable like ?clearCache=1, and then in application.cfc / cfm check for that variable and is defined delete the class file under:
[cf_root]\
me hates template caching...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top