Support » Plugin: Favorites » Does favorite JS/CSS need to load on every page??

  • Hello guys,

    I like your pugin, a lot!
    But your JS/CSS is slowing down my website with no reasons as It’s loaded on every page of my website!!
    Even if in that page I don’t have anything related with your favorites.
    Situation:
    – I have a post membership website
    – On each post page I want and need favorite cSS/js to be loaded, as I have such functionality offered on page
    – But for instance, on my posts-thumbnail page where I list all of my posts so that people can click on one of them and open that page…….I DON’T need your files to be loaded!

    I verified all of that with Google dev. tools.
    I have wp/pugins, etc all updated and my website is really optimized for speed, have a fast VPS + WP rocket cache plugin + using cloudflare CDN with rocket loader…
    It’s just your files that are loaded on every page at take up to 1.12 sec each!!! For no reason.
    /wp-content/plugins/favorites/assets/js/favorites.min.js?ver=2.3.1
    /wp-content/plugins/favorites/assets/css/favorites.css?ver=2.3.1

    Pls help me understand how can I load your file only on pages where the plugin is needed.

    Thanks a lot
    Kind regards

  • The topic ‘Does favorite JS/CSS need to load on every page??’ is closed to new replies.