3 ms·
Only to a degree, and then it starts making things worse. If your browser has to parse 20MB of CSS and JS (99.9% of which is not needed) to load a simple web pa
by protonfish 12y ago
Only to a degree, and then it starts making things worse. If your browser has to parse 20MB of CSS and JS (99.9% of which is not needed) to load a simple web page, it will be much slower than including only the necessary includes.
- asolove 12y agoYup. Once you have harder problems, you need harder solutions and you'll want to create a layered build with one cacheable file for common things used everywhere and then one separate file for each page's specific things. RequireJS and other front-end build tools are good at this: http://requirejs.org/docs/1.0/docs/faq-optimization.html http://requirejs.org/docs/1.0/docs/faq-optimization.html