Jump to content

Recommended Posts

Posted

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.

Posted (edited)

I don't think those 2 seconds are that much.

post-2275-0-39610700-1429124782_thumb.jp

I am getting something similar on xampp on windows. But I am not sure what numbers should be there.

Edited by Ivan Gretsky
Posted

I don't think those 2 seconds are that much.

attachicon.gifnetwork.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?

Posted (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 by Ivan Gretsky
  • Like 3
Posted

The only time i experienced slow loading pages on my local machine it was due to xdebug being enabled.

Posted

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.

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
  • Recently Browsing   0 members

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