Page load TTFB
Created 3 years ago by simonHi, I have been taking a look at pyrocms demo and it runs pretty slow. It says in the footer "0.41 s | 12 mb v3.2.1" but if i look at the inspector tools it says:
- Stalled 10.05 ms
- Request sent 0.50 ms
- Waiting (TTFB) 6.60 seconds!!
- Content download 301.86 ms
Is it the average page load for pyrocms? Thanks!
Another site we built, where we have not even implemented a lot of cache strategies, is loaded also within 1.6s.
I don't think this is related to your issue but incase this comes up in other people's google searches:
Homestead has nfs disabled by default and is really slow with Pyro as a result. You can enable it by adding to your Homestead.yaml
:
folders:
- map: ~/projects
to: /home/vagrant/Code
type: nfs
If you're on Mac you can try Laravel/Valet which has been much quicker for me https://laravel.com/docs/5.5/valet
Pyro currently autoloads a lot - using PSR4 and a classmap so the disk IO seems to effect it steeply. While I have GoDaddy sites (yes.. godaddy) that loads much much faster than that I also always use DO / something with SSDs and get really good results that way. Inspect your disk setup most likely ๐
Opcache and all that usually help in production as well!
@ryanthompson not sure, but i thought he was looking at the demo site on your server? Hmm I might have been mistaken.
Oh my.. Well I missed that ๐
Looks like there was some malarky on it - I reinstalled it just in case. Needs to be updated too..
I think this depends on where you are, and where the server is located for one thing. Then you can always be unlucky and hit something when its very busy. I have no idea how optimized that site is either so it might lack that.
I am pretty satisfied with our site : https://pixney.com/
From where i am , it loads fully within 1.3-1.6 seconds.