Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Whitespace Removal from Sightly HTML output

Avatar

Community Advisor

Can there be a way to remove whitespace from Sightly components HTML output

Previously in JSPs we could use - trimDirectiveWhitespaces="true".

Thanks

Dipti

1 Reply

Avatar

Community Advisor

Hi Dipti

       Here is the exact same question asked before Sightly remove whitespace  . I am not sure if they have added an option. May be Feike Visser or Jörg Hoh can answer this for you. smacdonald2008​ do you think we have a solution for this ?

Thanks

Veena

Avatar

Administrator

Here is the Sling-issue: https://issues.apache.org/jira/browse/SLING-4443

It is still in open state.

~kautuk

Avatar

Community Advisor

Hi Kautuk

  Do we have any resolution date for this issue or any workaround?

Thanks

Dipti

Avatar

Administrator

Let we check it internally and get back to you.

~kautuk

Avatar

Employee

You can use a module like mod_pagespeed, at the webserver level.