JS assets gzip output

edited May 2013 in Installation
I'd like to use the gzip or combine feature of the assets output regularly, however, I often find they break a script somewhere.

Do you have any tips for getting multiple scripts (typically including JQuery) to play nicely together? Is it best not to use minified files prior to gzipping?

Comments

  • edited 8:52PM
    It's tough to say what may be causing the issue. Were you able to diagnose what script combinations may be causing the problem? You can break them out into separate js and css function calls but that starts to defeat the purpose of that feature.
  • edited 8:52PM
    I'll stop being lazy and see if the non-minified versions work.

    I did try moving the order of scripts around, but sometimes JQuery has to be earliest.
  • edited 8:52PM
    Yeah... jquery should probably be the first because it will look for that $ variable for your plugins.
Sign In or Register to comment.