• Resolved Camilo

    (@camilo517)


    Hello, why does the plugin load css on unnecessary pages? For example I just need it to work on post so there is no point in displaying the css on the home page. Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ays-pro

    (@ays-pro)

    Hello @camilo517 ,

    Thank you for the topic.
    We will try to change the structure of the plugin.
    This small CSS is being used for different functionalities of the plugin.

    Before that, you can use the Asset Cleanup plugin as a temporary solution.

    Thanks

    Plugin Author ays-pro

    (@ays-pro)

    Hello @camilo517 ,

    Thank you for your patience.
    I am glad to inform you that we’ve fixed the issue and updated the plugin.
    Could you please update it and try again?

    Thanks

    Thread Starter Camilo

    (@camilo517)

    Thanks for the update, but I still see js and css loading where it’s not needed

    Plugin Author ays-pro

    (@ays-pro)

    Thank you for your reply @camilo517 .

    Can you please send us the link of the page where unnecessary CSS and JS are loading?

    Thanks

    Thread Starter Camilo

    (@camilo517)

    I have updated to the latest version, fixed. Thank you

    @camilo517, FYI, there is a plugin called “Asset CleanUp: Page Speed Booster” specifically created to fix that kind of problem of css or js assets being loaded unnecessarily (on pages or posts that don’t need them). Even though the authors of this copy protection plugin may have fixed it in theirs, you should still check it out. You’d be surprised how many plugins load bloat on pages/posts that don’t need it. It has helped me get my site to 99 or 100 in google pagespeed insights and 94 on pingdom

    Warning: It is a powerful plugin, but can break things if you switch off the wrong css or js file. Take a back up of your site before you start using the plugin to play around with switching off assets.

    The free version does plenty enough for most people. The pro version offers a bit more granularity such as for adding exceptions to specific custom post types.

    • This reply was modified 1 year, 2 months ago by ragrant0.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘improve wpo’ is closed to new replies.