title: PHP: Cache RSS data to avoid requesting it everytime the page loads
body: <p>I'm parsing data from this RSS feed: <a href="http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&amp;locCode=SAM|AR|AR005|MONTE%20MAIZ" rel="nofollow noreferrer">http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&amp;locCode=SAM|AR|AR005|MONTE%20MAIZ</a>, The data there updates once every hour.</p>
  
  <p>To parse it, I load the RSS at the initialization of my class and convert it into an usable object.</p>
  
  <p>The problem with this is that every time the page loads, the RSS is parsed again, and the HTTP request delays the page loading.</p>
  
  <p>I was thinking of a <em>cronjob</em> to parse the RSS hourly, and then save the data in a JSON structure. But I'd really like to not depend on the cron, as not all shared hosting servers provide it (although they should).</p>
  
  <p>Any other suggestions on how to do this?</p>