> I'm hoping this is a common enough problem that there's a simple > solution. > > I've got a page with <cfcache> at the top, when I try and view the > page I end up with "Connection Failure". When I use <cfcache > action="flush"> I'm fine. > > I've seen this a few times when things are fine on our test server > here, but as soon as it's rolled out to a clients server it gives this > error. So far I've just taken <cfcache> off, as the applications > haven't been that heavy anyway, but I'm still left wondering what it > is that causes the problem? > > Anyone come across the same situation? I've heard that the number of > simultaneous connections settings can cause this, when set to 1, any > other reasons? CFCACHE uses CFHTTP to run the script and write the response to a file. If you can't use CFHTTP to run the script, CFCACHE won't work. CFHTTP might fail for several reasons. For example, you might have permissions set on the target script to require a login using NTLM authentication. Rather than attempt to enumerate all the possible reasons for failure, I'd recommend that you attempt to use CFHTTP through a recording proxy, which will show you exactly what the problem is. You'd run the recording proxy on your web server, and use CFHTTP to make requests through the recording proxy. You can find recording proxies here: Stretch: http://www.kestral.com.au/devtools/stretch/ HttpSniffer: http://www.schmerg.com/code.asp Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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

