Join the community today
Become a Member

WebPerf PageSpeed Improve page download time (analitycs)

Discussion in 'Web Development & Web Performance' started by upgrade81, Mar 2, 2018.

Tags:
  1. upgrade81

    upgrade81 Premium Member Premium Member

    122
    6
    18
    Sep 5, 2016
    Italy
    Ratings:
    +8
    Local Time:
    5:09 AM
    1.13.8
    10
    Hello everyone, since I moved to centmin by moving the dedicated from paris to milan the average download time of the page has increased.

    Both from Analitycs and from Search Consolle.
    How can I improve it?

    Currently I use Wordpress, with Redis http cache. php 7.1.14
    The previous server was a simple lamp nginx with some of my tuning very similar to the configuration used on centmin w3tc + memcached.

    analitycs 17 feb start migration
    grabilla.g66196.png grabilla.g72452.png
     
    Last edited: Mar 2, 2018
  2. eva2000

    eva2000 Administrator Staff Member

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    • where was previous server geographically located compared to now ? if different then that is a major factor especially if it's with different web hosts and web server hardware/specs too.
    • what was server specs for old and current servers ?
    • same web host ?
    • same web server ?
    • both servers used HTTPS or non-HTTPS based ?
    • also test using webpagtest WebPerf - PageSpeed - How to use webpagetest.org for page load speed testing
    W3TC isn't needed on a Centmin Mod Nginx based server it's bloated and slower than Centmin Mod offered wordpress caching options via centmin.sh menu option 22 installed wordpress instances.

    First place to look is wordpress plugins - profile them and see if any are causing slowness i.e. turn them all off and turn on one at a time for webpagetest.org tests etc.
     
  3. eva2000

    eva2000 Administrator Staff Member

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:09 PM
    Nginx 1.13.x
    MariaDB 5.5
  4. upgrade81

    upgrade81 Premium Member Premium Member

    122
    6
    18
    Sep 5, 2016
    Italy
    Ratings:
    +8
    Local Time:
    5:09 AM
    1.13.8
    10
    Lots of information ...

    the old server was in Paris and it was a dual Xeon e5 2.0 ghz 32 threads, with 128gb of ram and ssd in raid 10.

    This is a VPS instead located in Milan at MIX, with 2 cores xeon e5 at 3.50ghz and with 16gb of ram with local ssd disks IOPS identical to the server of paris.

    In Paris, there were 30 websites and 2 forums.

    in Milan I only transferred 2 wordpress sites for 10 thousand visitors a day.

    Webpagetest org has improved above all with the use of brotli and from the extreme proximity to the webpagetest server location Milan with Milan.

    Ping improved and even the Hop are minor obviously always from Italy.
    NB: w3tc I used it on the old server in Paris
     
  5. upgrade81

    upgrade81 Premium Member Premium Member

    122
    6
    18
    Sep 5, 2016
    Italy
    Ratings:
    +8
    Local Time:
    5:09 AM
    1.13.8
    10
    I am also attaching a wpt.org test grabilla.g70272.png
     
  6. eva2000

    eva2000 Administrator Staff Member

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    only real factor to verify if speed is better or worse. Honestly, you can't control what google crawler bots see - check your webmaster tools error reporting to see if indexing and bots aren't reporting errors or blocked resources.
     
  7. upgrade81

    upgrade81 Premium Member Premium Member

    122
    6
    18
    Sep 5, 2016
    Italy
    Ratings:
    +8
    Local Time:
    5:09 AM
    1.13.8
    10
    no error on webmaster tools.

    I wanted to understand, I saw that you have not enabled by default on nginx the multi-accept, I could enable it but I do not think it improves the time to download the page from the bots.

    The site is always in https, I recently put the patch equalchipers with the chacha and after this "only" change the times have risen further.

    I also thought that maybe it was better to use the socket with redis instead of the tcp but with so few contemporary connections I do not think anything changes.
     
  8. eva2000

    eva2000 Administrator Staff Member

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    Redis cache at nginx level won't work with redis sockets only redis via TCP so if that is still using sockets, then that's probably why as Redis caching wouldn't be working properly.
     
  9. upgrade81

    upgrade81 Premium Member Premium Member

    122
    6
    18
    Sep 5, 2016
    Italy
    Ratings:
    +8
    Local Time:
    5:09 AM
    1.13.8
    10
    No, maybe I explained myself I was just thinking about it I do not use the socket with redis, but I use it with php at the moment.

    Anyway
    it is days that text also the network, even with MTR.

    grabilla.g62328.png

    I notice that on the penultimate ip (I imagine the server that manages the VM and the routes) I always have packet losses, in this test that I enclose within 10 minutes 10%.

    What do you think about it?
     
  10. eva2000

    eva2000 Administrator Staff Member

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    that packet loss won't be the problem with high page speed times with google crawler

    PHP sockets don't scale or not as reliable as PHP via TCP from my experience hence why Centmin Mod php-fpm defaults to using TCP ;)
     
    • Like Like x 1
..