I'd imagine that CFFILE has to read the entire file from the file system
every time, while CFHTTP can make use of optimizations at the web server
level. So if you have a good web server, it makes sense that it might be
faster. Of course, using CFHTTP requires that your file be web accessible,
which isn't always desirable.
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 8:32 AM
To: CF-Talk
Subject: RE: Storing XML
> Wow I'd be really surprised if cfhttp was quicker than cffile.
Oddly enough, sometimes it is, when used to fetch a file from the local
machine. I was very surprised by that myself, as it strikes me as
counterintuitive, to say the least.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Storing XML Rich Z
- RE: Storing XML Matthew Walker
- RE: Storing XML Dave Watts
- Barney Boisvert