View Single Post
Old 08-23-2014, 02:25 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
I looked at the script that is on nomoneyinporn, the one labeled CHATURBATE WHITELABEL SCRIPT.

What I would probably do with this.

1. Make a folder on the server to store a file in.
2. Put together a script to pull the xml file from chaturbate and write it to my folder.
3. Set up a cron to run that script every 5 minutes or so.
4. Everywhere in the script that calls the xml file, change the reference to call the file I wrote.

That will stop the site from having to go out to chaturbate on every nav change and should produce a significant improvement in performance.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote