Tagged: async, Autoptimize, compression, CSS, javascript, performance
-
AuthorPosts
-
December 5, 2018 at 8:25 pm #1041365
Hi guys,
We’ve been using Autoptimize and Async JavaScript plugins with our Enfold site.
Today I discovered the new CSS and JavaScript file merging and compression options inside Enfold.
Currently these are turned off. I’m wondering what mix of these 2 options and the 2 plugins mentioned above would be best for site performance?
Thanks!
DDecember 6, 2018 at 6:24 am #1041500Hey sdigit,
I would advise you to simply try out which settings work for your site and which doesn’t, it’s very difficult to say exactly what would be the correct settings in combination with other plugins.
Best regards,
RikardDecember 6, 2018 at 10:34 pm #1041856Hi Rikard,
Thanks for the quick response, and I understand.
Let me rephrase my question slightly. It seems there is redundant functionality between Enfold Performance Features and Autoptimize in terms of merging/compression of CSS and JS.
Could that redundancy cause problems that could affect site functionality or performance? Or would it be harmless?
Thanks!
DEnfold Performance Features:
– File Compression: merging and compression for your CSS and Javascript files
– Change WordPress defaults (Emoji/Smiley, jQuery Migrate, Load jQuery in footer, Load google fonts in footer)
– Delete old CSS and JSAutoptimize:
– Aggregate, minify and cache scripts and styles
– Injects CSS in the page head by default (but can also defer)
– Moves and defers scripts to the footer
– Minifies HTML
– optimize Google Fonts and images
– async non-aggregated JavaScript
– remove WordPress core emoji cruftDecember 7, 2018 at 3:48 pm #1042084Hi,
I don’t think using compression with both the theme and a plugin should do any harm, but I would still suggest you to experiment with it. Maybe the theme works better than the plugin, or the other way around? Or maybe a combination adds extra compression?
If you load certain resources in the footer then you need to keep a very watchful eye out for things breaking. A safe way to check the front-end of a whole site is to use Visual Regression Testing.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.