- This topic has 7 replies, 2 voices, and was last updated 2 years, 1 month ago by David.
May 29, 2019 at 5:09 am #914181Tony
Wanted to follow up on another thread I found, but thought it’d better not to necro it and post my own. The thread is ticket #724829.
I have the same settings as OP in that topic, but the thing is I want to be able to continue using Autoptimize to minify the site CSS as it helps with the page speed somewhat. For website design reasons I’d also like to continue to use the masonry grid for a 2 column layout and 1st post featured.
Unfortunately applying the CSS fix in that topic didn’t help, so I removed it. I would appreciate any further help!
TonyMay 29, 2019 at 5:15 am #914188DavidStaffCustomer Support
so if you uncheck Combine CSS does the problem go away?
As you’re server is running HTTP 2.0 – i would expect that having combined CSS won’t make any noticeable difference. Let me know.May 29, 2019 at 5:25 am #914192Tony
Thanks for the reply.
I can confirm that I need to uncheck the option “Aggregate CSS-files?: Aggregate all linked CSS-files? If this option is off, the individual CSS-files will remain in place but will be minified.” for the issue to go away.
Unchecking “Also aggregate inline CSS?” alone isn’t enough.
I’ve disabled “Aggregate CSS-files” for now, if you want to take a look.May 29, 2019 at 6:23 am #914225DavidStaffCustomer Support
Looks good to me – you may need to clear browser caches and resize your browser if it still looks out of sorts.
No aggregate inline CSS won’t work as this is only for inline styles which we don’t use in the theme.
Worth trying a speed test with and without the option enabled. It loaded fast for me.May 29, 2019 at 6:33 am #914234Tony
Yes it’s because the problem setting was disabled. The changes are immediately apparent everytime I toggle the setting on or off.
And for the comparison, I did lose about ~20 in mobile page speed insights.
Wondering if there’s a way to force the padding to behave, else I’ll have to live with either a mildly slower page or an off centred mobile experience. Not too bad either way it just pokes at my OCD.May 29, 2019 at 7:23 am #914438DavidStaffCustomer Support
You could try leaving the option on and add this to Exclude field:
If not, i wouldn’t be too bothered about the pagespeed rating as long as it hasn’t significantly impacted the pagespeed. HTTP 2.0 removes the limit on how many requests can be made simultaneously – so having lots of little files being loading at the same time can sometimes outweigh one large combined file…..May 29, 2019 at 4:52 pm #914872Tony
I agree with the pagespeed and thanks for the workaround. I’ll implement it for now and mark this as solved.
Thanks for all the help!
TonyMay 29, 2019 at 5:14 pm #914879
- You must be logged in to reply to this topic.