Live Server Performance Issue
My application works quite well on my local, and I don't think there is any issue with the code. However, when I publish the application on a live server, even on the login page where no backend processes are performed, the system opens incredibly slowly, taking about 2 seconds.
The server is a high-capacity, dedicated server.
I'm looking for your suggestions on this matter. What can I do or why might this problem be occurring?
12 Replies
Try
php artisan icons:Cache
Failing that, give us the php info of the server too. Ensuring opcsche is added and xdebug is disabled
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Can you explain why and what you set it to?
Hi again,
php artisan icons:cache
php artisan icons:cache had this much effect for those experiencing the same issue.Oh, I forgot to thank you, thank you very much @Dennis Koch .
You’re welcome
Let me share this and we can evaluate it together. It would make a great guide for those experiencing the same issue.
And yes, opcache is enabled and xdebug is disabled.
That looks generally good, did you notice an improvement post icon cache? Also what happens when you use debug bar and debug that way incase a load query is taking an age?
Okay then, thank you. I also think that 250-300ms is quite sufficient. I'm glad there was no error here. None of the ones I shared above had debugbar enabled.
200ms is fine