Improve application loading time with preflight optimization
Application load time improvements are most noticeable for mobile applications that are running in areas of reduced network speed but also apply for desktop applications.
Only necessary files are optimized
You run optimizations by access group and portal before you release your application.
After you run the process, review the optimization report to identify the UI components, rules, and CSS formats that were included in the optimization process.
To further reduce your application's static content, you can remove more files and repeat the preflight optimization process. Use the report to identify which files are needed for a component to work and which files you can remove without affecting the application.
JSP <static> tags with "moveToEnd" attributes
If your application uses JavaServer Pages (JSP) <static> tags and you include a <static> tag with the attribute "moveToEnd,"the code is not included in the optimization process.
For example, you might have the following in your application if you were to copy existing Pega code:
<pega:static type="script" app="webwb" moveToEnd="true">
Rerunning the optimization process
When you change the portal, the application's content, or the application’s skin, repeat the preflight optimization to remove any unnecessary static content that was introduced by your changes.