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
Dennis Koch
Dennis Koch2y ago
Try php artisan icons:Cache
toeknee
toeknee2y ago
Failing that, give us the php info of the server too. Ensuring opcsche is added and xdebug is disabled
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Dennis Koch
Dennis Koch2y ago
Can you explain why and what you set it to?
afatmustafa
afatmustafaOP2y ago
Hi again, php artisan icons:cache php artisan icons:cache had this much effect for those experiencing the same issue.
afatmustafa
afatmustafaOP2y ago
Oh, I forgot to thank you, thank you very much @Dennis Koch .
Dennis Koch
Dennis Koch2y ago
You’re welcome
afatmustafa
afatmustafaOP2y ago
Let me share this and we can evaluate it together. It would make a great guide for those experiencing the same issue.
afatmustafa
afatmustafaOP2y ago
And yes, opcache is enabled and xdebug is disabled.
toeknee
toeknee2y ago
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?
afatmustafa
afatmustafaOP2y ago
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.
Dan Harrin
Dan Harrin2y ago
200ms is fine
Want results from more Discord servers?
Add your server