Could I just use cachedwithin="#CreateTimeSpan(0,3,0,0)#" on the end of
the CFHTTP statement ?

If this cannot be done how do I dump the result in the application
scope?

-----Original Message-----
From: Todd [mailto:[EMAIL PROTECTED] 
Sent: 13 December 2007 14:51
To: CF-Talk
Subject: Re: CFHTTP and Caching

Use a schedule task to dump the result in the application scope?  Every
3
hours or so, go get a new version of the xml?  How do you want this to
be
done?

On Dec 13, 2007 9:44 AM, Ian Vaughan <[EMAIL PROTECTED]>
wrote:

> Hi
>
> I am using CFHTTP to get an RSS feed to display on our website.
>
> <cfhttp
url="http://feeds.bbc.co.uk/weather/feeds/rss/5day/id/2315.xml";
> method="GET" resolveurl="No"</cfhttp>
>
> However what can I use in Coldfusion to cache this CFHTTP request
(every
> 2 hours)so that it does not request the RSS feed every time a user
loads
> our webpage?
>
> Any ideas if this is possible ?
>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294689
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to