Re: Using caching and threading to load a page quickly

2014-10-10 Thread Dave Watts
> 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

Re: Using caching and threading to load a page quickly

2014-10-03 Thread Chris h
Thanks Jonah, I am sorry for the late reply. The WordPress's RSS feed is stable but due to excessive resource usage, the newswebsite has been suspended a few times after which we had to call the Hosting company to restore it. >To have the rest of the page load and then the feed display later

Re: Using caching and threading to load a page quickly

2014-09-28 Thread .jonah
To have the rest of the page load and then the feed display later, you'll have to use AJAX to pull in a separate CF page clientside. (You'd still use caching in the feed.cfm so it'd only be slow occasionally.) Another approach would have the feed fetching functionality in a separate template w

Using caching and threading to load a page quickly

2014-09-28 Thread Chris h
Hi All, I have a main index page which is in ColdFusion which gets a RSS feed from another website(Newswebsite which is a WordPress 3.9.2 website running on shared hosting). The Newswebsite is on shared hosting so takes about 7 seconds to load(a little slow, I know, but the decision to go with