On Sep 2, 9:57 am, Laurent Malvert <[email protected]> wrote: > I was wondering if someone could tell me if the library is designed to > prevent multiple calls to fetch the same library? > > Let's say you have a page with two embedded scripts in a page, like > this: > [testcase] > > Will the JQuery and JQuery-UI libraries be loaded twice?? > [...] > > Thanks in advance for letting me know if that's the case and if > there's a readily available workaround, or if I need to develop a > guard clause.
Well I just asked the same question on the IRC channel (thanks to you jgeerdes, btw), and as we weren't sure I just can a test and checked with Google Page Speed what would be happening. So, if anyone else wonders, they thought of it and subsequent calls from the same page (and its embedded scripts) to the same libraries are discarded. (the library gets only loaded the first time your request it). Which is great, thanks! -- Laurent Malvert Analyst Programmer Macquarie University, NSW 2109, Australia Office of Institutional Advancement p: +61-2-9850-1385 m: +61-4-1095-7130 e: [email protected] w: http://www.mq.edu.au/advancement/ CRICOS Provider No 00002J --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" 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/google-ajax-search-api?hl=en -~----------~----~----~----~------~----~------~--~---
