Quote:
Originally Posted by adulttemps
Obviously within the 30 minute span users could log in or out, but it allows you to cache the results and not call the feed every page load. And stores the offline pages so if they are indexed it will just show a featured cam on that page and leave an offline message.
|
Hey, I've been playing with the Chaturbate api feed too, not for a wp plugin though, just as a stand alone white label type.
First cut was pulling the feed each page load which of course made the page take a lot longer to load. Second cut was into a database (not wp, but same idea). During testing, I noticed a really hard draw on the server when I was doing the simplexml pull of the feed. I changed that up some and just pull the feed using curl and then a custom parse of it and it runs a shit load quicker and doesn't produce the load I was seeing. That is what I have in the current cut and I am doing an update every 5 minutes to keep it fresh and it seems to be working quite well.
The site is in my sig right now but if sigs are turned off it is at
http://www.camfoxes.com