Using external files generally produces faster pages because the JavaScript and
CSS files are cached by the browser. Inline JavaScript and CSS increases the
HTML document size but reduces the number of HTTP requests. With cached
external files, the size of the HTML is kept small without increasing the
number of HTTP requests thus improving the performance.
No comments:
Post a Comment