I know there is a limit to the number of stylesheets a webpage can have, but what about javascript attachments?

IE has a limit of 31 stylesheets (there are ways around this), but is there a limit on the number of javascript files that I can include? if I go above this, what will happen?

I have a page with 40+ js files included.

+3
source share
2 answers

Regards, I think you are asking the wrong question. The correct question is: "I have 40+ JS files ... how to fix this?"

Google . Combine, minify gzip, .

, ... , , , ? , .

+7

, 200 JavaScript HTML script src-attribue :

  • Win XP IE6,
  • Win XP IE7,
  • Win XP IE8,
  • Windows 7 IE9,
  • Mac OS X Lion Chrome 21,
  • Mac OS X Lion Firefox 15,
  • Mac OS X Lion Opera 12,
  • Mac OS X Lion Safari 6.
+11

Source: https://habr.com/ru/post/1774395/


All Articles