For a complex page, should I: Separate out css, javascript and javascript libraries into individual files, and including them via <script src="js/myfile.js"> and <link> in the page's head?
Or: Add the contents straight into the head of the document (assuming there's no css/js reuse across multiple documents)? For a non-local webpage, there's a performance advantage to the first one, since those assets will be cached by the browser. For a page running from a local directory, though, am I just introducing an unnecessary delay while the individual assets are fetched from disk? Similarly, am I better off fetching images from individual jpg files, or base64 encoding them and embedding them in the HTML document, aside from the inconvenience during development. -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.
