• I was just wondering how BWP Minify deals with scripts that vary by page. For example say page 1 has scripts a & b. Page 2 has scripts b & c.

    Does it minify a,b&c and then serve to both pages.
    Or does it minify a&b for page 1 and b&c for page 2.
    Or some other rule / combination?

    I ask because I’m trying to optimise my site as much as possible and avoid loading scripts on pages that don’t need them. But if BWP minnify ignores this then there probably isn’t much point. Either way I still think it’s a great plugin – thanks for all your work.

    https://wordpress.org/plugins/bwp-minify/

Viewing 1 replies (of 1 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    The latter way you described is how the plugin currently works, i.e. a&b for page 1 AND b&c for page 2.

    Having said that, version 2.x will allow you to move files around however you want.

Viewing 1 replies (of 1 total)
  • The topic ‘Scripts varying by page’ is closed to new replies.