Issue
- How do I increase site performance with Lighthouse, Google Insights and Web Audit Tools?
Environment
- Quarterly Releases
- DXP 7.0
- DXP 7.1
- DXP 7.2
- DXP 7.3
- DXP 7.4
Resolution
Firstly, please note that Liferay does not have any official commitments with third-party analytics tools such as Google PageSpeed or Lighthouse.
These tools and their evaluation criteria can change frequently, which makes maintaining compatibility quite challenging.
However, we do have a couple of articles I could share with you:
- Google PageSpeed Insights (Mobile) results for a Liferay DXP site have a low score
- Chrome lighthouse results for mobile device is poor
Secondly, these kinds of results seem to fall under performance-related concerns, which can often be complex and require in-depth investigation to identify the root cause.
Compression should be handled by the web server.
From Liferay perspective, we recommend to use minified themes and minify CSS/JS via build.gradle or Liferay Workspace.
Enable MinifierFilter in portal-ext.properties (usually already on by default):
minifier.enabled=true
For best results, use CDNs for serving large libraries or static assets if possible.
Given all this, the best course of action would be to reach out to the Global Services team, who can provide the necessary support and expertise for this type of issue.