View Single Post
Old 04-03-2025, 01:49 PM  
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,038
Quote:
Originally Posted by machinegunkelly View Post
Unless you are showing 90 per page.... you should not be pulling 90 cams.

if you want 500 rooms... Lets make the math easy cause im a math retard.

So you want 500 rooms... you have 50 per page.
Your home page pull should be limit 50, offset 0

Then you tie your pagination to the room limit.

So page 2 becomes pull Limit 50, offset 50

THe other problem you could be having is you're possibly pulling 500 and storing to database without respecting geo restrictions, which would become nearly impossible to diagnose.

as a secondary hint, any attempt to "cache" the API calls, has caused major issues for me...similar to what we see here... check you caching layer if you have one.

God speed man!
Thanks for the input - I am not using pages on the sites - I am using lazy loading and calling 80 at a time and then using offsets and pagination in the api to get the next 80 etc. - That should work but I still get the issue - I will go and sit on the loo for a while and have a good think about it - ...
__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote