[ 
https://issues.apache.org/jira/browse/SLING-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447861#comment-17447861
 ] 

Konrad Windszus commented on SLING-4443:
----------------------------------------

Enabling it for complete output is sufficient. The idea is to remove all 
whitespace which is not relevant for rendering to
- improve FE performance (as it keeps the DOM leaner)
- reduce response size (only 2nd prio as usually gzip works pretty well)

> Whitespace removal for Sightly HTML output
> ------------------------------------------
>
>                 Key: SLING-4443
>                 URL: https://issues.apache.org/jira/browse/SLING-4443
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>    Affects Versions: Scripting Sightly Engine 1.0.0
>            Reporter: Dan Chapman
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Can there be a way to remove whitespace from Sightly components HTML output, 
> that is  created when elements are hidden e.g. <span data-sly-test="..."
> Previously in JSPs we could use - trimDirectiveWhitespaces="true" 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to