Community
Participate
Working Groups
From the discussion on bug 335545 it became apparent that the concatenated JavaScript should be better delivered as a static resource. This change will * leave the delivery of the content to the servlet container * leave the gzip compression to the servlet container * thus allow for performance optimizations such as direct access, caching, etc. by a proxy web server * fix bug 338412 and bug 335545
All JavaScript resources are now registered as static resources and included in the initial HTML page. * The RWT client library is currently copied into a single file named rap-client-XXX.js, where XXX is the version hash. This happens in the ClientResources class. * All other registered JavaScript resources are currently concatenated by the JsLibraryConcatenator and copied into a file named resources-XXX.js. * For every theme, the JavaScript and ThemeStore contents are copied into a file named rap-THEME_ID-XXX.js, where THEME_ID is the id of the theme. These files are only needed until bug 321213 is fixed. * The rap- prefix is needed as a workaround to exclude RAP's own JavaScript files from the JSConcatenator. * All these files are compressed in production mode. The JSLibraryServiceHandler has been removed. Changes are in CVS HEAD.