Jump to content

Huge load time on localhost


starlays
 Share

Recommended Posts

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 -l
    4
  • model name    : Intel® Xeon® CPU E3-1230 v3 @ 3.30GHz
  • MemTotal:        2053680 kB
    MemFree:         1811696 kB
    MemAvailable:    1802860 kB

When I make a simple GET request the loading times are huge:

rgaNXhC.png

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.

Link to comment
Share on other sites

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 by Ivan Gretsky
  • Like 3
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...