I'll give you a taste.
While playing with Blackstone and FA yesterday, I found some strange timing
issues with my templates. Now I've optimized the code down to the point where
there's 6 lines of code, 2 includes and a getPageContext().include() to load the
article body (it's faster and covered in another article). I have save class
files turned on (also talked about in another article) and trusted cache turned
on (getpagecontext includes do not get cached). The pages fly normally, but
every now and again there's a redline in the debug. There should be no reason
for this, but it's there.
Using the new CFTIMER tag in Blackstone, I looked at each line of code to see
what was causing the delay. It turned out to be the CFINCLUDE of the footer.
This is strange as the only timing that should have an effect on the calling
page of a CFINCLUDE is the actual find and load of the file. The parsing is
listed in debug under the included template. So what was the problem?
One thing mentioned by Damon Cooper of Macromedia was that the filesystem may be
fragmented. Now few people really think about fragmentation of a server file
system. I didn't, and it may be a problem. The HoF server is about 6 years old
and has never been defragged. This could be causing a delay in finding the
included file in the file system. Now this should not happen with trusted cache
on, so there must be another issue....
A small taste, but one that shows you where I'm going.


> I'd like to read that....
> -Patrick
>
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
>
> >That's it, I'm writing another article on this. After the
> >article on optimizing
> >CF by optimizing your system and the different ways to display
> >large data
> >chunks. I feel the need to write.
>
>
> Outbound email scanned for viruses. (e232)
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:138686
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to