> Another approach would have the feed fetching functionality in a
> separate template which is run as a scheduled task every 2 minutes. That
> task can shove the parsed (and potentially formatted) feed into the
> application scope. (With a lock.) And then your main page can output
> that variable (with a lock). Then your home page would load as fast as
> it would as if the feed were local.

Based on all the information exchanged so far, this is the approach
I'd recommend. Just fetch it periodically and store it locally. Don't
wait for a user to request it first (as you're doing in another post).

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359448
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to