DescriptionAdds support for &jsload=1 argument to JsServlet, in which presence JS is emitted which in turn loads (versioned) JavaScript from Shindig.
The benefits of doing so are:
1. Less JS on the wire, even for JS-triggered JS loads. The loader JS is very small and cacheable for 1 hr; the subsequent JS should be versioned and thus cacheable essentially indefinitely.
2. Sets up follow-up CL, which will support incremental JS loads using this mechanism.
In supporting this, the JsUriManager API is slightly modified as well, as follows:
1. make(...) method takes GadgetContext rather than Gadget.
2. JsUri extends ProxyUriBase to support the usual raft of params.
Patch Set 1 #
MessagesTotal messages: 7
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||