White space removal in page view source | Community
Skip to main content
July 9, 2021
Solved

White space removal in page view source

  • July 9, 2021
  • 2 replies
  • 5557 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asutosh_Jena_

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!

2 replies

Dipti_Chauhan
Community Advisor
Community Advisor
July 10, 2021

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

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
July 10, 2021

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!