• Resolved Hozefa Saleh

    (@hozefasmile)


    Your scripts load lots of script and CSS files, when block is added to the page. Your need to improve you plugin in terms of page speed performance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Charles Cormier

    (@charlescormier)

    Hi @hozefasmile,
    We apply some alternate methods to reduce loading assets, now only essential assets are loading.
    And update the plugin, please update plugin to the new version.

    Thread Starter Hozefa Saleh

    (@hozefasmile)

    Hi @charlescormier ,

    Yes now the page speed performance have been improved for the plugin, but still loading this big list of scripts

    wp-content/plugins/before-after-image-compare/dist/style.css?ver=1.1.3
    wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=0.13.9
    wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0
    wp-content/plugins/gutenberg/build/hooks/index.min.js?ver=da24a732bf5c2bfffa4b
    wp-content/plugins/gutenberg/build/i18n/index.min.js?ver=6fdf6f309c3796e73a49
    wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=6.0.2
    wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.0.2
    wp-includes/js/jquery/jquery.min.js?ver=3.6.0
    wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2
    wp-content/plugins/before-after-image-compare/dist/script.js?ver=1.1.3

    Can’t we reduce the number of server requests by not loading scripts that are not required for the plugin to function? Or it can be combined to lower the server request count. Also, suggest that you can make your script jquery independent.

    Plugin Author Charles Cormier

    (@charlescormier)

    Hi @hozefasmile,
    This plugin needs react, react-dom and jquery scripts.
    We may remove jquery in future.

    But,

    
    wp-content/plugins/gutenberg/build/hooks/index.min.js?ver=da24a732bf5c2bfffa4b
    wp-content/plugins/gutenberg/build/i18n/index.min.js?ver=6fdf6f309c3796e73a49
    

    This two scripts loading from gutenberg plugin that you have installed. Because, WordPress by default has react and react-dom scripts, and gutenberg plugin overwrite that.

    
    wp-includes/js/dist/vendor/react.min.js?ver=17.0.1
    wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1
    

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘page speed impact’ is closed to new replies.