Dojo is bundled as part of the IBM® WebSphere® Portal theme and can be used by any portlet application running in Portal. Typically if portlet applications use any Dojo features, they rely on Dojo being loaded by the theme when run in Portal rather than packaging the Dojo in the portlet .war file.
However, for improved performance, it is important to load Dojo resources in an optimized way by combining multiple files into a single request rather than multiple requests for each individual Dojo file/resource. This article focuses on how to achieve this optimization across various themes and Dojo versions in Portal.
- Minimize HTTP Requests
- Use a Content Delivery Network
- Add an Expires or a Cache-Control Header
- Gzip Components