On my site, http://www.sandsword.com , the RSS feeds for jokes of the day and funny videos of the day are loading REALLY slowly. I am using http://www.rssfeedreader.com to display them. Can someone help me find a way to make them load almost instantly?
They take about 5 mins to load. RIght sidebar is funny videos. And in the middle under news are the jokes of the day.
Loaded instantly for me. If it's not already doing this, write a script to download the feeds (or here, whatever the rssfeedreader site sends back) and store them on your server. Have the site read from the stored version and setup a CRON task to run the script as often as needed - in this case daily.
lookup magpieRSS script, it will cache RSS feeds for you and you can set interval. Only needs to load once per interval, I set a cron job to load each feed that I use hourly (example gamepress.com) so hopefully no users see any sort of delay... also loading them into a database so data isn't pulled directly from cache, this seems to speed it up even more.. RSS (magpiee)-->mysql db-->website just a thought
^^ Either that, or store the data in your database each couple of hours using cron. Your whole site took like a minute to load for me.
Yup, Cron it to reduce resources. Otherwise, look through the code and try to minimize the URL or DB calls.