Based on the initial decision after Design of a new JS minification scheme in DXP, we will attempt to shift minification from run-time to build-time.
Once this is completed and js (and css) resources are minified by default, the next step is to disable run-time minification. Most settings can be found in the #Minifier section of our default portal.properties which includes:
The goal of this story is to disable run-time minification of resources by default.
- Minification is no longer enabled by default in production-like setup in portal.properties
- A breaking change warning explains this change in behaviour and how to enable it back for those that need it.
- The minifier.enabled property enables both JS and CSS minification. For simplicity, since Simplify CSS minification scheme in DXP is in the short-term roadmap, we should be able to simply disable it now and make sure CSS minification doesn't depend on it before the release of 7.4 GA1