Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Including CSS or javascript files decreases performance

SA-16570

Summary



Including CSS or javascript files decreases performance.

OOTB CPM has multiple sections and controls where the javascript or CSS files used by the sections are included in the section itself. This reduces browser performance because these static content files cannot be bundled. The recommended practice is to include all CSS files a bundle in the Skin rule and all javascript files as a bundle in the harness. 

The reason for performance decrease is that clients have a very small expiry time for browser cache which makes pulling up these files from the server more frequent. 

Following are some examples: 

•    Section ToasterPop 
•    Section ScreenPopPublicEventHandler 
•    Section ScreenPopInterationStarter 

 

Steps to Reproduce



Open one of the sections in the examples above. Static content files are included as part of the section.


Root Cause



The reason for performance decrease is that clients have a very small expiry time for browser cache which makes pulling up these files from the server more frequent. 


Resolution

Apply HFix-24770.
Suggest Edit

Published January 31, 2016 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us