JavaScript libraries should be combined into a single request
-------------------------------------------------------------

                 Key: TAP5-549
                 URL: https://issues.apache.org/jira/browse/TAP5-549
             Project: Tapestry 5
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.1.0.1
            Reporter: Howard M. Lewis Ship


It should be possible to create a virtual resource under /assets that 
represents all the JavaScript libraries for a particular page. I envision this 
as a Base64 stream that is the actually a composite list of paths to the real 
JavaScript files; encoded in such a way that when multiple pages use the same 
set of JavaScript libraries, they can share a single stream.

The combined stream should be gzipped (if client supports it) and should be 
packed/minimalized.  Some extra bookkeeping is needed to track what JS files 
were combined (the client tracks loaded JS libraries for when an Ajax partial 
update requires new libraries that were not required for the main page render, 
for example, a partial update that includes a form with client-side validation).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to