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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

White space removal in page view source

sannyrac
Level 1
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
asutosh_jena
Correct answer by
Community Advisor
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
Dipti_Chauhan
Community Advisor
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

asutosh_jena
Correct answer by
Community Advisor
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