starlays Posted April 15, 2015 Posted April 15, 2015 Hello. Have installed Processwire 2.5.3 from master with intermediate site profile on an virtualbox archlinux machine which runs on localhost. I'm using the fallowing: php 5.6.6-1 mariadb 10.0.17-2 apache 2.4.12-2 The configuration for the machine is: cat /proc/cpuinfo | grep processor | wc -l4 model name : Intel® Xeon® CPU E3-1230 v3 @ 3.30GHz MemTotal: 2053680 kBMemFree: 1811696 kBMemAvailable: 1802860 kB When I make a simple GET request the loading times are huge: I have checked the logging lvl of apache and is set to default, nothing special there... What could be the problem? Can I fix somehow? Thank you in advance.
Ivan Gretsky Posted April 15, 2015 Posted April 15, 2015 (edited) I don't think those 2 seconds are that much. I am getting something similar on xampp on windows. But I am not sure what numbers should be there. Edited April 15, 2015 by Ivan Gretsky
starlays Posted April 15, 2015 Author Posted April 15, 2015 I don't think those 2 seconds are that much. network.jpg I am getting something similar on xampp on windows. But I am not sure what numbers should be there. Hmm, interesting but isn't this to much on localhost? the load should be almost instantly, right?
Ivan Gretsky Posted April 15, 2015 Posted April 15, 2015 (edited) Not really. It is much faster on production, I get 340 ms for the same page on a shared linux hosting. As for me, I always get better results going live. Probably because the server is optimised for that exact task. Most of the time is spent building a page (which is faster on server), not transpoting it here and there. I just checked it in the dev tools - you can get those details) Edited April 15, 2015 by Ivan Gretsky 3
SiNNuT Posted April 15, 2015 Posted April 15, 2015 The only time i experienced slow loading pages on my local machine it was due to xdebug being enabled.
starlays Posted April 16, 2015 Author Posted April 16, 2015 I don't have xdebug or other stuff installed...
alan Posted April 16, 2015 Posted April 16, 2015 I've had slow load times before but can't remember why :/ The only thing that rings a bell was perhaps it being to do with DNS. This Google seems to find a few hits that may be of some help.
starlays Posted April 16, 2015 Author Posted April 16, 2015 I've had slow load times before but can't remember why :/ The only thing that rings a bell was perhaps it being to do with DNS. This Google seems to find a few hits that may be of some help. I'm accessing the developing enviroment like this: http://127.0.0.1:8080/~developer/processwire/ I'm not using the domain name, I'll dig further in apache functionality... I think there is the problem.
Soma Posted April 16, 2015 Posted April 16, 2015 Just to crosslinking a thread about this already exists, see my response there too. https://processwire.com/talk/topic/8805-slow-admin-localhost/ which I found with search "slow localhost".
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now