-
AuthorPosts
-
September 7, 2020 at 2:10 am #1243807
Hello,
On Google PageSpeed Insights test, i only can get a poor score. Have optimized image files, but of course it was not enough. However i will optimize resolutions again, soon.On the other hand, there are some JS files, i think i need to de-register. At least for homepage.
Here on screenshots you can see some of them are not in use on homepage for me :
Image : https://prnt.sc/ucp18y
1) https://www.gstatic.com/recaptcha/releases/NjbyeWjjFy97MXGZ40KrXu3v/recaptcha__en.js
2) wp-content/uploads/dynamic_avia/avia-footer-scripts-84cd7f150d7f4f988acc04ae972e1719—5f4aed97f08b6.js
3) wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=4.2.13-9993131And here we can see some render-blocking JS’s:
Image : https://prnt.sc/ucp1j1
(5 of them, too much to list) :)And some unused CSS files:
Image : https://prnt.sc/ucp1uvHow should I handle them ? Can you please lead me the way ? :)
BONUS:
some bonus diagnostics here, which i believe are not very important.
-> https://prnt.sc/ucp283I am including the link and details in private content.
Thanks!September 7, 2020 at 2:33 am #1243809OK,
I’ve managed to remove google recaptcha JS by changing V3 to V2 in Enfold settings.
Looks like google is analyzing user behaviour on all pages to make sure it’s human :)
(If any way to deactivate it ONLY on homepage, I’d like to keep using V3)Still, need help with the rest :))
September 7, 2020 at 2:42 am #1243810Succesfully removed the block-editor css js, in the list of render blocking js’s.
By adding the code at the end of functions.php ( theme editor )
// Disable Gutenberg editor. add_filter('use_block_editor_for_post_type', '__return_false', 10); // Don't load Gutenberg-related stylesheets. add_action( 'wp_enqueue_scripts', 'remove_block_css', 100 ); function remove_block_css() { wp_dequeue_style( 'wp-block-library' ); // WordPress core wp_dequeue_style( 'wp-block-library-theme' ); // WordPress core wp_dequeue_style( 'wc-block-style' ); // WooCommerce wp_dequeue_style( 'storefront-gutenberg-blocks' ); // Storefront theme }
September 7, 2020 at 3:04 am #1243811Wow. Even getting better. This topic is going to be a good example of hard-working! lol
Installed autoptimize plugin, and activated some features.
At the beginning of this topic, I could only get around 30 to 40 points on mobile PageSpeed tests.
Now, after this post, It’s around 85 !—–>><<<—-
Hard to know what’s going on in google’s brain.
Before hitting on submit, made another test.
now its between 50-70 points :((September 7, 2020 at 3:24 am #1243813optimized and updated jQuery, using “jQuery Manager” plug-in.
Ta-da ! 82 points 😍September 7, 2020 at 10:15 am #1243885Hi GizmakSanayi,
Please check this article: https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
Hope it helps :)Best regards,
NikkoSeptember 7, 2020 at 3:53 pm #1244013Hello Nikko,
I ve already read it. But seems to be a little old article, around 3 years.
Maybe there should be some updates, so i created the topic :)September 8, 2020 at 3:09 am #1244120Hi GizmakSanayi,
I see, thanks for creating this helpful thread :)
Please checkout this plugin as well: https://wordpress.org/plugins/wp-asset-clean-up/
With it you can manage JS and CSS files that loads on every page.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.