Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "feat: minify HTML on build (#2537)" #2800

Merged
merged 2 commits into from
Nov 27, 2019
Merged

Conversation

tniessen
Copy link
Member

This reverts commit 0cc3648. Based on my estimations and calculations, the benefit is minimal, while making our build pipeline more complex, more time consuming, adding a dependency and making the output less readable. Contrary to assumptions in the original PR, the patch does not affect the docs.

(Also, @XhmikosR suggested that there might be a better alternative provided by Cloudflare.)

Refs: #2537

cc @nschonni @MylesBorins @aymen94 @bnb @Trott

@tniessen
Copy link
Member Author

And to be clear, I am fine with closing this and leaving the commit as it is if that is what people want, but I believe that the original PR was landed prematurely.

@XhmikosR
Copy link
Contributor

I agree, this should be reverted.

Now, I understand if we don't want to do this via Cloudflare, but the slowdown from this isn't justified by the gains IMHO.

Copy link
Contributor

@MylesBorins MylesBorins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM, we should turn it on with cloudflare imho

@bnb
Copy link
Contributor

bnb commented Nov 27, 2019

SGTM. +1 to turning it on through CloudFlare, since that’s where the majority of our traffic is served from anyway AFAIK.

@aymen94
Copy link
Member

aymen94 commented Nov 27, 2019

if there is a better alternative, then so be it.

@Trott Trott merged commit 00b901e into nodejs:master Nov 27, 2019
@tniessen tniessen deleted the revert-2537 branch January 23, 2020 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants