Load tippy CSS via wp_enqueue_style

[ad_1]

Hi, I am researching ways to optimize load time on our pages. I noticed that this plugin loads a library called tippy.js on every single page. This library injects a huge blob of CSS in the head of every page. This does not seem efficient.

Could you consider loading the different JS libraries separately instead of combining them via gulp and loading one single file?

And could you consider loading the tippy CSS via wp_enqueue_style, not inject it via JS?

This would make it easier to dequeue stuff that is not needed.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer