• Resolved Y?ld?r?m Sertba?

    (@technokaptann)


    Hi,

    there was no warning in the plugin interface related to the js file in the screenshot. what can be done about this js file? What to do if something is done manually?

    What can also be done with unused css files?

    screenshot: https://prnt.sc/qtwigh

    thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @technokaptann I’ve noticed you’re using WP Rocket which is good and they the option to load deferred JavaScript with safe mode which is the recommended way because your website is likely requiring jQuery to be render-blocking to work properly. If you “defer” jQuery and later on you install a plugin that has inline JS code requiring jQuery, then you might get errors in the console such as “jQuery is undefined”. Please read this article: https://docs.wp-rocket.me/article/1265-load-javascript-deferred

    As for the unused CSS, that file can be reduced to a smaller size if you unload more CSS files that aren’t needed. Removing every byte (pretty much) of unused CSS is tricky and very time consuming, therefore it’s something I wouldn’t recommend for most of the websites.

Viewing 1 replies (of 1 total)
  • The topic ‘Eliminate render-blocking resources’ is closed to new replies.