View Single Post
Old 02-14-2021, 09:34 AM  
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,601
Quote:
Originally Posted by sarettah View Post
My guess is that it would definitely be possible for a site just using the api to be as fast or faster than a site pulling the whole thing into the database.

First of all there are efficient ways to do things and inefficient ways. If someone has coded the api call and parse propely and is doing pagination then that could be a very fast site. However if they are doing just the api and trying to present all the cams all at once then it will probably be a slow load.

On the server side solution, the database has to be designed properly and the sql calls need to be coded properly. Just because something is in a database does not mean it is fast or efficient.

There is a lot of shitty code out there, I know because I have written some of it.

.
Yeah I'm definitely calling the API with limit+page and tags where needed (subcategory pages). It's pretty fast..
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote