Improve the Performance of JS Loader Modules Servlet
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- How could we minify js_loader_modules file to improve our page load performance?
Resolution
- Install Fix Pack 11 which includes the following fixes to improve the performance of js_loader_modules servlet.
LPS-82808
LPS-83949
LPS-92402
LPS-92810
- Use the following properties to further compress the js_loader_modules file.
#
# The GZip filter will compress files using the specified compression level.
# Set the value to -1 to use the default compression level. Set the value
# between 0 and 9 for other compression levels as documented in
# java.util.zip.Deflater.
#
gzip.compression.level=-1
#
# If the user can unzip compressed HTTP content, the GZip filter will
# zip up the HTTP content before sending it to the user. This will speed up
# page rendering for users that are on dial up.
#
com.liferay.portal.servlet.filters.gzip.GZipFilter=false
Did this article resolve your issue ?