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:

  1. use conditional comment <!--[if lt ie 9]> - mean more http requests.
  2. just add legacy ie scripts along other concatenated files - result in unused code modern browsers, mean less http requests.
  3. another option?? (some way conditional concatenation?)

  1. use conditional comment. cleaner way.

Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -