Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

White space removal in page view source

Avatar

Level 1

Hello,

 

We see an existing thread for a same use case that we have on our pages now - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/adding-white-spaces-in-pag...

Just want to check if anyone has any solution for it ? or is it concluded to just ignore it as per the last comment.

In some other blogs, there is an another solution to add the Page Speed Module at apache but any thoughts if that could help? or any instructions on how we implement this?

 

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sannyrac 

 

This extra space won't make any impact on HTML rendering. Removing white spaces won't be making any difference and will be add extra overhead to remove white spaces using any custom code.

 

If you want to implement Page Speed Module on Apache please refer the below link:

https://www.modpagespeed.com/doc/configuration

 

Thanks!

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @sannyrac 

 please refer this article for pagespeed module setup with dispatcher : http://www.wemblog.com/2014/07/?m=1

You can give it a try.

But normally white spaces in your HTML does not impact your performance much so would be ok if you keep it as is.

 

thanks

dipti

Avatar

Correct answer by
Community Advisor

Hi @sannyrac 

 

This extra space won't make any impact on HTML rendering. Removing white spaces won't be making any difference and will be add extra overhead to remove white spaces using any custom code.

 

If you want to implement Page Speed Module on Apache please refer the below link:

https://www.modpagespeed.com/doc/configuration

 

Thanks!