Want to subscribe to topics you're interested in?
Become a Member

PageSpeed WebPerf SSL Ultra slow SSL compared to non SSL - GTMetrix

Discussion in 'Web Development & Web Performance' started by Jota, Jun 10, 2017.

Tags:
  1. Jota

    Jota Member

    78
    18
    8
    Oct 9, 2014
    Barcelona
    Ratings:
    +20
    Local Time:
    12:08 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: nginx/1.13.1
    • PHP Version Installed: 5.6.30
    • MariaDB MySQL Version Installed: 10.1.24
    • When was last time updated Centmin Mod code base ? :
    • Persistent Config: LETSENCRYPT_DETECT='y'

    I have a weird issue with a fresh box, installed about 10 days ago.

    I could make a WP site go very very fast with GTMetrix without SSL (Let's Encrypt), getting 84% PageSpeed and 94% Ylow.

    But same site using SSL is getting 77% in PageSpeed and 60% in Yslow.

    Test URL is https://paymes.katxe.net/

    How can I improve SSL side ?


    Browsing you can feel fast response in non SSL, but ultra slow with SSL.

    I didn't tweak much config neither tweaking, but before starting to touch I would like to know what would be the main issues where to attack.

    Thanks :)
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:08 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    gtmetrix shows 2.52MB size page so yes it will be slow regardless - don't look at the score by itself look at metric, stats and page load times and TTFB and initial page render times

    use webpagetest.org for more accurate testing

    also your non-https site is actively using wpfc minification while https isn't it seems

    upload_2017-6-10_21-0-28.png

    the wpfc minification on non-https version means time to first paint and initial render time is faster than https version

    upload_2017-6-10_21-4-35.png

    Cut page size from 2.5+ MB to less than 500-900KB for optimal page speed
     
    Last edited: Jun 10, 2017
  3. Jota

    Jota Member

    78
    18
    8
    Oct 9, 2014
    Barcelona
    Ratings:
    +20
    Local Time:
    12:08 PM
    Yup, seems that caching is not affecting to SSL code, I'll play with this, thanks crack !
     
  4. Jota

    Jota Member

    78
    18
    8
    Oct 9, 2014
    Barcelona
    Ratings:
    +20
    Local Time:
    12:08 PM
    Much better now ..... getting the expected results in SSL too !

    Thanks EVA, u're my hero ! ;)
     
  5. elargento

    elargento Member

    352
    17
    18
    Jan 4, 2016
    Ratings:
    +44
    Local Time:
    7:08 AM
    10
    How did you resolve it?
     
  6. Jota

    Jota Member

    78
    18
    8
    Oct 9, 2014
    Barcelona
    Ratings:
    +20
    Local Time:
    12:08 PM
    It was an issue generated by the caching plugin.

    Seems that I was using non SSL in the admin WP panel.

    After disabling in non SSL mode and enabling in SSL mode, all changed positivaly :)

    What I didn't get is that all let's encrypt SSL auto certs are giving issues, i guess it's a root cert issue ..... but didn't have time to analyze and report it in here.

    I need to explain this ..... pingdom gives SSL error all the time ! :(