View Single Post
  #3 (permalink)  
Old 05-30-2008, 06:43 PM
CygnetGames's Avatar   
CygnetGames CygnetGames is offline
Programmer
 
Join Date: May 2007
Location: York, England
Posts: 113
Rep Power: 6
CygnetGames is on a distinguished road
Default Re: RSS feeds and cURL

I'm connecting once every time the page is refreshed by a client - is that too much? I was considering caching the feeds on my server and updating the cache if the page is refreshed and the cache is over a day old (or it's passed whatever time the feeds are updated with new content, or something...).

It does the same thing with CURLOPT_FOLLOWLOCATION set to 0. That's how I had it set originally - my xml parsing code choked on the 302 page returned by cURL, which was how I discovered it was getting redirected.

It may well be that they are redirecting me for connecting too often.
Reply With Quote