Support » Plugin: SG Optimizer » JS Combination

  • Resolved Giulio

    (@griotta)


    Hello, I’m a WP-Rocket user and I’d like to switch all my web sites to SG Optimizer. I’m already a Siteground user, so it would be really nice. But I see that SG Optimizer do not still offers a JS Combination feature. Do you think that will you introduce that feature in your plugin in the future? Thanks.

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

    (@hristo-sg)

    SiteGround Representative

    Combining JS scripts is really “dangerous”. Check out the Defer Render-blocking JS option in the frontend optimization section plus the Minify JS one. Both should provide great results for your files!

    I understand your worries, but I’m actually using that feature with WP-Rocket and it works really well. It reduces a lot the numbers of HTTP requests.

    Drake

    (@marcoragogna)

    I agree with Giulio, other caching plugins has this feature and it could be very useful if handled well.

    Why not create something similar to Combine CSS feature but that work in the opposite way?

    You have to select manually all the Javascript files in $wp_scripts that would you like to combine, otherwise it does nothing, so that it will not break anything by default and expert users can get benefit of it.

    • This reply was modified 1 month, 2 weeks ago by Drake.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.