Thread: Ucam.xxx
View Single Post
Old 02-26-2016, 03:26 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,055
Quote:
Originally Posted by JosephFM View Post
Anybody knows how to speed up the chaturbate api. I'm working on a couple with the chaturbate, bonga and webcamwiz API but the chaturbate API makes the site too slow.

I found this old thread:

https://gfy.com/webmaster-q-and-fucki...-api-help.html

With some info in there but I don't know how to implement it.
The chaturbate API is not what is slowing down the site.

The information you are pointing to is about caching the information from the API..

Some of the free chaturbate scripts (nmip in particular) grab the api from chaturbate every time there is a page load. That is what slows down the script. The solution they are talking about (that you linked to) is about pulling the API information occasionally (I do it every 5 minutes) and then storing it locally so that every page hit does not have to go out to chaturbate.

The steps are:

1. Create a script to grab the api info and store it on your server.
2. Add a cron job to run the script you created at various times.
3. Change the script that you are using to use the locally stored copy of the api info instead of calling chaturbate.

Without knowing exactly which script you are using I can't tell you any more than that.

So, what script are you using would be the first question I would have to ask.

.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook