ideas icon indicating copy to clipboard operation
ideas copied to clipboard

API call cold start takes too long (CP included)

Open vitalijalbu opened this issue 10 months ago • 6 comments

Hi guys, I wanted to do some stress testing with statamic (to see how much data it can hold): here's my playground API url, at cold start (meaning after some hours) it takes so much time... but after the first call it's ok...anyone knows the reason? CP also is so slow (147k records I have, ok... but the first 50 records of the table must be faster that 1+ minute I suppose) I use eloquent driver + mysql + siteground (which is one of the faster and best hosting)

https://toovoz.craftus.co/api/collections/items/entries

I attach screenshots before and aftrer

vitalijalbu avatar Feb 19 '25 16:02 vitalijalbu