AEM 6.5 LTS: Minify and Gzip settings in Production Ready Mode

Minify is enabled automatically only when Adobe Experience Manager (AEM) 6.5 LTS is installed in Production Ready Mode (nosamplecontent). Gzip is enabled by default in both modes. Learn how to change the Minify and Gzip settings in Adobe Granite HTML Library Manager after installation.

Description description

Environment

Adobe Experience Manager (AEM) 6.5 LTS (all platforms)

Symptoms

You need to confirm if the Minify and Gzip settings for the Adobe Granite HTML Library Manager are automatically enabled when AEM 6.5 LTS is installed in Production Ready Mode (nosamplecontent run mode). Check whether these settings require manual configuration, their behavior during upgrades, and how to change them after installation. No error messages are reported; this is a configuration and deployment behavior question.

Cause

The Minify setting is only automatically enabled in Production Ready Mode (nosamplecontent) at the time of initial installation. Gzip is enabled by default in both modes. These behaviors are determined by the OSGi configuration files bundled with the AEM installer and are fixed based on the initial run mode selection.

Resolution resolution

Follow these steps to change the settings.

Note: For new installations, explicitly specify nosamplecontent at install time to ensure Production Ready Mode settings are applied. During in-place upgrades, note that the original run mode (samplecontent or nosamplecontent) is retained and cannot be changed. The Minify setting will not switch automatically if the run mode is changed post-installation.

  1. To change the Minify or Gzip settings after installation, open the Configuration Manager at http://localhost:4502/system/console/configMgr.
  2. Locate and open the Adobe Granite HTML Library Manager configuration.
  3. Adjust the Minify and Gzip checkboxes as needed and save the configuration.
  4. Verify that the desired settings are active by reviewing the Adobe Granite HTML Library Manager configuration.

Running AEM in Production Ready Mode

recommendation-more-help
experience-cloud-kcs-help-kbarticles