April 20, 2020
Estimated Post Reading Time ~

Change Default OSGI setting in AEM production instances

Some OSGI settings are set by default to allow easier debugging of the application. These need to be changed on your publish and author productive instances to avoid internal information leaking to the public

For each of the following services the specified settings need to be changed:

Adobe Granite HTML Library Manager:
  • enable Minify (to remove CRLF and whitespace characters).
  • enable Gzip (to allow files to be gzipped and accessed with one request).
  • disable Debug
  • disable Timing
Day CQ WCM Debug Filter:
  • uncheck Enable
Day CQ WCM Filter:
  • on publish only, set WCM Mode to "disabled"
Apache Sling Java Script Handler:
  • disable Generate Debug Info
Apache Sling JSP Script Handler:
  • disable Generate Debug Info
  • disable Mapped Content


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.