Gabriel Torres Posted July 11, 2014 Posted July 11, 2014 Hi, Following Dmacleo's advice, I installed ngx_pagespeed. Now I am stuck with how to configure it... There are too many options! http://ngxpagespeed.com/ngx_pagespeed_example/ Any suggestions of the options that will improve IPB load time and won't generate any kind of issue? Thanks, Gabriel. sobrenome 1
Gabriel Torres Posted July 11, 2014 Author Posted July 11, 2014 After playing with this for a couple of hours, here is my current configuration: pagespeed EnableFilters defer_javascript,collapse_whitespace,combine_css,combine_javascript,elide_attributes,extend_cache,remove_comments,insert_dns_prefetch,lazyload_images,inline_javascript,local_storage_cache,outline_css,outline_javascript,prioritize_critical_css,rewrite_css,rewrite_javascript,rewrite_style_attributes,trim_urls; The option that gives the best result is defer_javascript. Especially on our forums, where we have several advertising banners running, this made the page load first, and then the banners. Fantastic results. However, this option generates a conflict with the >Lazyloader hook, and the images are shown as broken The solution was very easy: I disabled this hook and enabled the integrated lazy loader (lazyload_images). Additional comments and suggestions are more than welcome. sobrenome 1
Makoto Posted July 11, 2014 Posted July 11, 2014 Here you go, my recommendations and advice; http://community.invisionpower.com/topic/397051-pagespeed-web-server-module/ Gabriel Torres 1
Dmacleo Posted July 11, 2014 Posted July 11, 2014 I added apache version there based on your filters.
Gabriel Torres Posted July 11, 2014 Author Posted July 11, 2014 Had to disable defer_javascript today... A few users complaining that JavaScript-based features were not working for them (but working just fine for me). sobrenome 1
Gabriel Torres Posted July 12, 2014 Author Posted July 12, 2014 Sorry, I haven't see that Kirito is already managing a topic that has exactly what I was looking for... Therefore I am moving the discussion there: http://community.invisionpower.com/topic/397051-pagespeed-web-server-module/ Admin/moderators can even delete this topic if they want. Thanks.
sobrenome Posted April 30, 2020 Posted April 30, 2020 On 7/11/2014 at 4:58 AM, Gabriel Torres said: prioritize_critical_css Are you still using this feature? Does it break IPS? Does it solve CSS render blocking?
Makoto Posted April 30, 2020 Posted April 30, 2020 I don't use that setting anymore. Causes too many reflow issues and is highly inconsistent. ymmv though. sobrenome and CoffeeCake 2
CoffeeCake Posted April 30, 2020 Posted April 30, 2020 39 minutes ago, Makoto said: I don't use that setting anymore. Causes too many reflow issues and is highly inconsistent. ymmv though. Do you have an updated full config you'd be willing to post? sobrenome 1
Gabriel Torres Posted May 1, 2020 Author Posted May 1, 2020 @sobrenome I have this module for nginx disabled, I don't remember exactly why I had disabled it, it's been six years. I have only the PHP built-in opcode cache enabled at the moment. sobrenome 1
sobrenome Posted May 2, 2020 Posted May 2, 2020 On 5/1/2020 at 1:39 PM, Gabriel Torres said: @sobrenome I have this module for nginx disabled, I don't remember exactly why I had disabled it, it's been six years. I have only the PHP built-in opcode cache enabled at the moment. I really would like to test prioritize_critical_css, but I am afraid that on long term it could hurt TTFB considering lots of on the fly optimizations.
Makoto Posted May 4, 2020 Posted May 4, 2020 Yeah it doesn't really work well with IPS at the moment, and the mod_pagespeed project hasn't seen development in quite a while now. I can post the configuration I currently use later though I don't think its changed too much. I've mainly just disabled image filters as I use Cloudflare now and it takes care of that for me. sobrenome 1
Recommended Posts