• Resolved daneloctober

    (@daneloctober)


    Hi!

    This plugin is awesome! Just wanted to know, is it possible to disable the Frontend Optimization on certain pages? Specifically the Defer Render-blocking JS option?

    I tried including the page in the Dynamic Caching exceptions but I realize those are two different functions?

    Appreciate any insight. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Only the minification exclude works per URL. Other allow script / style exclusion due to the way those optimizations work. I don’t see a case in which deferring a script can fail on a certain URL only and work on others. Why not excluding the script that doesn’t work right from deferring completely?

    @daneloctober,

    Can you provide a specific example of what you’d like to accomplish? We might be able to assist you. Until then:

    – If you’re trying to defer a render-blocking script causing an issue on one page, SGO can do that. As @hristo-sg suggested, you could defer the offending script for your entire website. You can also use WP Rocket (details).

    – If you’re trying to offload or dequeue a script or style on a certain page, Perfmatters can do that (details).

    – If you’re trying to keep a page from caching, WP Rocket can do that (details). The only issue is that SGO will continue to cache your page lacking a code snippet to bypass SGO’s caching engine for a particular page.

    Cheers!

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Closing due to no reply.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disable Frontned Optimizations for Specific Pages’ is closed to new replies.