I did a lot of search and no solution worked for me.
Firstly, I have two projects on the same server, one using CodeIgniter and the other using Laravel.
The one which uses Laravel occasionally loads very slow
This image shows empty page written with Laravel
And this image shows that user waits for about 33 sec.
Sometimes, this time comes from Receiving
I had a quick look for some websites that run Laravel. I noticed that this issue exists there too, you can try October CMS .
Finally this is what I did:
- Set
debug
tofalse
- Run
artisan optimize --force
- Set database to
127.0.0.1
notlocalhost
Any ideas? and please note this happens occasionally and randomly