Loading JavaScript files - conditional concatenation -
to reduce http requests, i'm using grunt combine of scripts 2 files: scripts-head.js , scripts-body.js.
there scripts (shims, example) need served legacy ie browsers. should i:
- use conditional comment
<!--[if lt ie 9]>- mean more http requests. - just add legacy ie scripts along other concatenated files - result in unused code modern browsers, mean less http requests.
- another option?? (some way conditional concatenation?)
- use conditional comment. cleaner way.
Comments
Post a Comment