-
AuthorPosts
-
June 29, 2018 at 5:51 pm #979420
I have just updated to the latest version of Enfold, I have read and implemented the Performance suggestions in your article here:
https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow (great article, very well written and explained! Thanks for focusing on improving performance in these last updates instead of adding more features we don’t have a need for. Performance and bug fixes are what are important to us. The option to turn off the code for elements not used on a page was HUGE in improving our performance scores – thank you for that!!!)But still our score for Defer Javascript is not good, and total javascript size is over 500KB. How can I fully defer the javascript?
Also, I cannot change the options for the Layerslider plugin. We tried it at first for our homepage slider and had big issues with it. So we used the full page slider element instead. But because the plugin seems to be built into the theme rather than installed by us I cannot deactivate it. Of course we are not going to upgrade to the paid version because we aren’t using it. But that means we don’t get updates, which could lead to issues later, and I think it’s why I also can’t change the settings to match the recommendations in the article. Is there any way to turn this plugin off at least, even if we can’t remove it?
July 2, 2018 at 9:48 am #980026Hey Michael,
Thank you for using Enfold.
The remaining scripts (mediaelements, front.js) are generated by third party plugins (WP-EVS, Guild Member Endorsements). The theme can only merge its own scripts and stylesheets by default. Use this filter in the functions.php file if you want to include every enqueued files in the compression.
add_filter('avf_merge_assets', function() { return array('css' => 'all', 'js' => 'all'); });
You can find the theme’s merged script here. ( see private field )
Best regards,
IsmaelJuly 4, 2018 at 6:14 am #980916Thank you Ismael!
July 4, 2018 at 12:28 pm #981133Hi,
Glad we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJuly 5, 2018 at 4:48 pm #981666We also have the speed issue on https://blinddesign.nl and the most important part is the Javascript. Can someone tell me how to fix this? We minified the java but then we get other problems.
July 6, 2018 at 9:06 am #981916 -
AuthorPosts
- You must be logged in to reply to this topic.