> I have a question about a behavior that I am seeing with > <cfcache> and trusted cache. I am running CF5 on Win2K > and have trusted cache enabled.
The CFCACHE tag doesn't have anything to do with the "Trusted Cache" option. When you run any CFM page, the CF server has to read the ASCII text and convert it into something it "understands". This "native instruction set" is then stored in memory within the CF server, so that the next time you request the same page, the CF server doesn't have to actually reread the ASCII text, but instead can simply execute the cached "native instruction set". By default, however, even though the CF server doesn't have to reread the ASCII text, it will check the file and see if it's been changed. If it has, the CF server will reread the ASCII file, and create a new cached instruction set. If you enable the "Trusted Cache" option, the CF server won't bother to check the file for changes. Note that, in either case, the only thing that's cached are the commands within your program, so if you run a page with the Now function, for example, it'll still output the correct server time. The CFCACHE tag, on the other hand, generates a text file when used, and future calls to the same CFM page are served by simply returning that text file (until the cached file has passed its expiration date). In this case, the output generated by your commands is what gets cached, rather than the commands themselves. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

