Support the ongoing development of Laravel.io →
Cache Database
Last updated 1 year ago.
0

If this is for a select then have user filter the box first for example if the country starts with u, have them type in a u and just show results for all countries that start with u.

0
Solution

I have just found the problem which is caused my Language class. I was using my own language system which is using database. I have shown the country names as language phrase and calling the Language class for 245 times slowed down the system. I have returned back to laravels own localization system and the pages are flying now. @jimgwhit thanks for your response...

0

Sign in to participate in this thread!

Eventy

Your banner here too?

toorta toorta Joined 27 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.