Legacy Knowledge Base
Published Jun. 30, 2025

Unable to minify CSS in commerce sites

Written By

Apsara Raheja

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • Steps to reproduce:
    1. Start Liferay DXP 7.2 fix-pack-20 (commerce site)
    2. Add the below properties in portal-ext.properties:
    minifier.enabled=true
    theme.css.fast.load=true
    javascript.fast.load=true
    3. Inspect the page and navigate to the network
    4. Reload the page and click on main.css of commerce.
    5. Open the URL in the new Tab.
    Expected Behavior: The main.css should be minified.
    Observed Behavior: The main.css is not minified.

Environment

  • Liferay DXP 7.2
  • Commerce 2.0

Resolution

  • The observed behavior is a known bug that has been addressed via LPD-27746
  • If a hotfix is required for this issue, please create a support ticket requesting a hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install this hotfix in the respective environment.
Did this article resolve your issue ?

Legacy Knowledge Base