Hello,
I'm working on a project which uses many scripts (Google Maps, jQuery, jQuery plugins, jQuery UI...). Some pages have almost 350 kB of Javascript.
We are concerned about performance and I'm asking myself what is the best way to integrate those heavy scripts.
We have 2 solutions:
- Include all scripts in the head, even if they are not utilized on the page.
- Include some common scripts in the head, and include page specific ones when they are needed.
I would like to have your advice.
Thanks.