There are several other possible causes/solutions:

[A] Put a "do not cache" command in the header of the page.  This
prevents proxy servers and browsers from caching the page.   Upside:
you see your new page as soon as you refresh.  Downside:  you lose the
advantages of caching.  so once you're done developing, comment out or
remove the command.

To do this, just put the following in the header area of your page
(between the <head> and </head> tags:

<cfheader name="expires" value="0">

[B]  if you have access to the CFAdministator, you can turn off
Trusted Cache (in the caching area of the Administrator.

Turning on trusted cache is a good thing to do when you dont have a
lot of changes to the pages.   The server isnt asked to check every
time if the version of a page on the hard drive is the same as the one
in the cache.  Great for production sites, but bad while you are
developing (which in my case is all the time).

So if your site isnt mature and stable,  and you're developing all the
time, turn off trusted cache, to force the server to check each page
request to see if the one it has in the cache is the same as the one
on the hard drive.

In a shared hosting environment, we always have trusted cache turned
off because of the fact that there is never a time when there are no
users developing pages.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254184
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to