Slow loading website?



So my website has issues with loading, it's because of XML feeds. I have 3 feeds, two from YouTube and one from my forum. Every time someone accesses my site, they have to load each of the feeds, and the PHP code iterates through the feeds and formats them using HTML & CSS (There are also a lot of images that have to be loaded from the feeds).


I was wondering if there was a way to have the website update once every hour or so, or maybe once every week for one of the feeds that doesn't need much updating. Then anyone that accesses my website will just be accessing the already stored data instead of forcing an update every time someone visits. Now that I think about it, the server would probably take a big hit if a lot of people visited at the same time.


I was going to add a link to my website, but I'm pretty sure people would take that as self-advertising, so I wont. But basically my website takes about 2-10 seconds to load every time you visit.


No comments:

Post a Comment