I’ve created an API in my Laravel app to pull all my clients (3000+) details so I can use my AngularJS autocomplete form to search for their name/address/phone number etc.
The API outputs about 1,000Kb of client data (json). If I don’t fetch all the data, I could think that a client doesn’t exist when typing his name in the search box, so I would like to be able to load them all.
Everything work fine, but a 1,000Kb download is a slow. AngularJS handle this well though. And what if I had 10,000 clients?
Where should I look for a solution:
- Laravel Eloquent query?
- Php (gzip)?
from Newest questions tagged laravel-5 – Stack Overflow http://ift.tt/1ZQwzOV