• Resolved aminaz

    (@aminaz)


    Hi!

    I need to exclude multiple js files on certain pages. These are files or folders or their combination, sometimes there are more than 10 js files Excludes. On other pages everything works fine without Excludes.

    But if you add files and folders to the exclusions, they will be excluded not only for certain pages, but for the entire site. And this affects the optimization and speed For site. It remains only to add URI Excludes. All optimization for this page altogether, and this affects the page loading speed.

    It would be nice to add the ability to exclude some js for certain pages and Post Type.

    Perhaps something similar to the logic of the Plugin Organizer. There are general rules, settings for the page and for Post Type.

    Is it possible to add such a function in the future?
    This will add more flexibility.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Thank you for your suggestion , I will pass this feature request to developers.

    Another approach you may wanna consider is rather make them work with JS feature instead of excluding them.

    Best regards,

    Thread Starter aminaz

    (@aminaz)

    @qtwrk ,
    Thanks for the quick reply.

    Another approach you may wanna consider is rather make them work with JS feature instead of excluding them.

    I did not understand what you mean. Please can you write more?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    When you try to exclude a JS file from optimization , I assume you have some issue with it.

    Like loading order , or some conflicts after minify/combined/deferred

    So I meant if possible , to try solve this conflict or error to make it be able to be optimized , instead of just excluding it.

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘different JS Excludes for different pages or post type’ is closed to new replies.