On Thu, Jan 27, 2011 at 9:59 AM, Smith, Garren <[email protected]
> wrote:

>
>
> What about specific jQuery or your library uses for a particular page?
>

As usual, "it depends". There could be a specific init.js for each page (or
an extending init.js just for pages that need something extra). There could
be a specific module for each page, loading only those scripts that you
need. There could be the choice of taking the hit in favor of having all of
the scripts cached (and minimized), anticipating future use. There could be
lazy loading, importing the lib when you need it.

- peter

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to