-
AuthorPosts
-
March 28, 2017 at 5:29 pm #768323
I would to have better results with gtMetrix performance score.
My pb : Defer parsing of JavaScript.Ok, so i search in yhis forum and i find this part of code :
add_filter('clean_url','async_js',11); function async_js($url) { if ( false !== strpos( $url, 'jquery.js' ) || false === strpos( $url, '.js' )) { return $url; } return "$url' defer='defer"; }
with this code i have better score 89 >> 96 but the Avia framework get troubles
without >> Performace code : 89 but framework work wella pic is better than my poor english
can i hope have both : better score performance and all the framework ?
Thx
March 31, 2017 at 10:30 am #769841Hey Gleechme,
You should only try to defer Javascript parsing on the public facing part of the website, and exclude that optimization for admin panel. And you should really make a lot of tests to see, which files are critical to be parsed first, and which can be parsed later.
Your front page loads in 1.60sec, which is good. You don’t have any heavy sliders, galleries or videos, not sure that you really need to optimize that hard.
Best regards,
VictoriaMarch 31, 2017 at 10:54 am #769860Hey Victoria !
Thanks for your answer !
Yes, for this site, I am not more going to optimize than it (GtMetrix score : 92 a 90 = not so bad).It’s my first time with Enfold but certainly not my last ! It’s a fabulous theme (I love Avia builder) !
I am more a graphic designer than developer (I hope :) ), Enfold is a real and enjoying new playground.You should only try to defer Javascript parsing on the public facing part of the website, and exclude that optimization for admin panel.
Yes I have try this and it’s work fine (for the moment) ! I keep doing many tests on a personal platform of tests…Thanks for your work !
April 1, 2017 at 3:49 pm #770338Hi Gleechme,
Glad we could help and glad you enjoy Enfold! Happy exploring, building and optimising! :)
Best regards,
VictoriaDecember 2, 2018 at 7:43 am #1039801wp rocket is best – check it my website
gtmetrix report gtmetrix reportDecember 2, 2018 at 11:08 am #1039883 -
AuthorPosts
- You must be logged in to reply to this topic.