one of the things I've noticed with caching is that it seems like CF Server
caches the whole "request." In your example, and of course with most
fusebox apps, cfinclude is used. When CF Server "compiles" the templates
needed to run the request and send something back to the browser, it just
inserts the cfinclude'd files into their respective places.
I would guess that even an HTML file falls into the caching for that reason.
The only way I've been able to get content to change without having to
uncheck/check the caching option is to use database-driven content.
In short, CF caches the whole request. It doesn't cache query results
however, just the query code.
Hope that helps.
kevinf
----- Original Message -----
From: "Claudia Pearson" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 11:25 AM
Subject: RE: CF Caching of HTML Files?
> Yeah, the browser was the first thing I checked. And I tested the
> browser-caching theory in both IE and Netscape. The environment is
Solaris
> and Netscape Enterprise Server 4 (I think that's the correct version).
>
> -----Original Message-----
> From: Bill Killillay [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 07, 2000 8:50 PM
> To: Fusebox
> Subject: RE: CF Caching of HTML Files?
>
> Have you checked your browser? Could you be caching it at
> that level by chance. There is an option to check for a
> newer version every time, if it's not checked the browser
> will cache the page. Just a thought....
>
> What web server are you using? IIS, Unix, Solaris, etc.
>
> > -----Original Message-----
> > From: Claudia Pearson [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 07, 2000 7:04 PM
> > To: Fusebox
> > Subject: CF Caching of HTML Files?
> >
> >
> > I have a simple fusebox app that calls HTML files
> > for its content like this:
> > <CFCASE VALUE="netAfriend">
> > <CFINCLUDE TEMPLATE="dsp_header.cfm">
> > <CFINCLUDE TEMPLATE="dsp_netafriend.htm">
> > <CFINCLUDE TEMPLATE="dsp_footer.htm">
> > </CFCASE>
> >
> > Our production environment uses CF caching and so
> > I chose HTML files
> > (instead of CF files) for the content to avoid
> > having to refresh the cache
> > every time I made a content change.
> >
> > Unfortunately, things aren't working as I
> > expected. After I made a change
> > to one of my HTML files, I was still seeing the
> > old version. So I verified
> > that I had, indeed, overwritten the old copy with
> > the new change. And then,
> > as a second test, I deleted the HTML file and
> > determined that I was actually
> > looking at some form of cached copy.
> >
> > This is probably more cache-related that
> > Fusebox-related, but how can it be
> > that my HTML pages are getting cached? And given
> > the constraints of the
> > production environment using caching, is there
> > any way for me to code my
> > content pages so that they aren't cached and
> > changes get reflected
> > immediately (without any type of CF administrator
> > reliance)?
> >
> > Claudia
> >
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists