Learn about Centmin Mod LEMP Stack today
Register Now

PageSpeed This forum's pagespeed.conf

Discussion in 'Web Development & Web Performance' started by eva2000, May 26, 2014.

  1. frm

    frm New Member

    18
    3
    3
    Dec 17, 2018
    Ratings:
    +4
    Local Time:
    11:25 AM
    1.15.7
    10.3.11
    I use this conf on 2.1 and it looks good, but I had to turn it off on every other page besides the index (that scores a 99/100 on Google's test because of it) because it'll destroy the editor box (sometimes it appears, and other times it doesn't, but when it does there's no toolbar on the box).

    I don't know if this is the javascript setting or something else. I'll keep playing with it more to see which one can make it work site-wide.
     
  2. rdan

    rdan Well-Known Member

    4,668
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    10:25 AM
    Mainline
    10.2
    Just disable this:
    pagespeed EnableFilters prioritize_critical_css;
    pagespeed EnableFilters defer_javascript;

    Will fix all issues.
     
    • Like Like x 1
    • Winner Winner x 1
  3. eva2000

    eva2000 Administrator Staff Member

    41,668
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    12:25 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
  4. frm

    frm New Member

    18
    3
    3
    Dec 17, 2018
    Ratings:
    +4
    Local Time:
    11:25 AM
    1.15.7
    10.3.11
    Pagespeed didn't drop from 99/100 on the homepage, but went from 70s to to 99/100 on threads now; and, the functionality of posting still works. Thanks!
     
  5. eva2000

    eva2000 Administrator Staff Member

    41,668
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    12:25 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah those 2 pagespeed filters are tricky to get right :)
     
    • Agree Agree x 1
  6. Mak Adang

    Mak Adang Member

    60
    20
    8
    Jan 4, 2015
    Ratings:
    +23
    Local Time:
    9:25 AM
    1.9.0
    10.0.18-MariaDB
    Hi All,

    Is there anyone would like to share the pagespeed.conf for wordpress site?
    I just wonder how ovoid miss configuration with Autoptimize plugin with JS,CSS & HTML configuration also.

    Thank you.
     
  7. negative

    negative Active Member

    346
    39
    28
    Apr 11, 2015
    Ratings:
    +81
    Local Time:
    5:25 AM
    1.9.10
    10.1.11
    Yes, i need the example pagespeed.conf for xenforo 2.1.4 too.

    Someone may share if have the rules please.
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    3,476
    334
    83
    May 31, 2014
    Ratings:
    +641
    Local Time:
    5:25 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I prefer to let others to that job for me and free :)

    Cloudflare :)

    So i have more power on my server for other tasks.
     
    • Like Like x 1
  9. eva2000

    eva2000 Administrator Staff Member

    41,668
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    12:25 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    @Mak Adang @negative as every site's theme/style layout differs, ngx_pagespeed config can differ so proper way is to use instructions outlined at Nginx PageSpeed - Nginx Pagespeed Troubleshooting steps to troubleshoot ngx_pagespeed if you have it enabled for your specific site

    or yes Cloudflare these days almost cancels the need for ngx_pagespeed :)
     
  10. Mak Adang

    Mak Adang Member

    60
    20
    8
    Jan 4, 2015
    Ratings:
    +23
    Local Time:
    9:25 AM
    1.9.0
    10.0.18-MariaDB
    Thanks @eva2000 & @pamamolf
    Already used Cloudflare Enables HTTPS TLS 1.3 Backend Origin Communication too :)
     
    • Like Like x 1
  11. negative

    negative Active Member

    346
    39
    28
    Apr 11, 2015
    Ratings:
    +81
    Local Time:
    5:25 AM
    1.9.10
    10.1.11
    Is Cloudflare offers same advantages like ngx_pagespeed?

    For speed and optimizations like ngx_pagespeed ?
     
  12. eva2000

    eva2000 Administrator Staff Member

    41,668
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    12:25 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yes especially if using Cloudflare Pro and above as it has on the fly webP image conversion just like ngx_pagespeed but better as Cloudflare has 190+ datacenters for their CDN accelerated serving of your files/images.
     
  13. negative

    negative Active Member

    346
    39
    28
    Apr 11, 2015
    Ratings:
    +81
    Local Time:
    5:25 AM
    1.9.10
    10.1.11
    I' m using Pro already and Webp feature is enabled. But is ngx_pagespeed only does the image optimization ? What about css, js or others?
     
  14. eva2000

    eva2000 Administrator Staff Member

    41,668
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    12:25 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x