Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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-9993131

    And 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/ucp1uv

    How 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/ucp283

    I am including the link and details in private content.
    Thanks!

    #1243809

    OK,
    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 :))

    #1243810

    Succesfully 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
    }
    #1243811

    Wow. 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 :((

    #1243813

    optimized and updated jQuery, using “jQuery Manager” plug-in.
    Ta-da ! 82 points 😍

    #1243885

    Hi 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,
    Nikko

    #1244013

    Hello 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 :)

    #1244120

    Hi 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.