Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP3 (5.2.7)
-
All
Description
Inline CSS and JavaScript are compressed by StripFilter to reduce the size of the page sent to the browser. These compressed CSS and JavaScripts are now cached so that they do not need to be re-compressed on every request.
The number of cached CSS/JavaScript content can controlled using the following property in portal(-ext).properties:
#
- The strip filter will attempt to cache inline minified CSS and JavaScript
- content. Set this property configure the maximum pieces of cached content.
- Set this property to disable caching of inline minified content.
#
minifier.inline.content.cache.size=10000
For 5.2 EE, properties also exist to selectively control what content is cached:
#
- Input a list of comma delimited values that will cause the minified CSS to
- not be cached if those values are contained in the content.
#
minifier.inline.content.cache.skip.css=
#
- Input a list of comma delimited values that will cause the minified
- JavaScript to not be cached if those values are contained in the content.
#
minifier.inline.content.cache.skip.javascript=getSessionId,encryptedUserId
Attachments
Issue Links
- is related to
-
LPS-6835 StripFilter should cache the in page CSS/JavaScript compress results
- Closed