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

PB-1176: Minify the index.html #1165

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

PB-1176: Minify the index.html #1165

wants to merge 1 commit into from

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Dec 10, 2024

This remove the unnecessary white spaces

Test link

Copy link

cypress bot commented Dec 10, 2024

web-mapviewer    Run #4217

Run Properties:  status check passed Passed #4217  •  git commit f130ec43ea: Update nvmrc
Project web-mapviewer
Branch Review feat-PB-1176-minify
Run status status check passed Passed #4217
Run duration 05m 43s
Commit git commit f130ec43ea: Update nvmrc
Committer Brice Schaffner
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 218
View all changes introduced in this branch ↗︎

@ltshb
Copy link
Contributor Author

ltshb commented Dec 10, 2024

This alone don't improve the situation because currently the index.html is big enough so that Cloudfront is compressing it and have a final size over network of 884 Bytes. If we minify it then it is too small to get compressed by Cloudfront and the final size over the network is 1.3K.
If we would gzip the file before deploying, together with the minify we could gain 200 Bytes.

@ltshb ltshb marked this pull request as draft December 10, 2024 11:11
@ltshb ltshb force-pushed the feat-PB-1176-minify branch 3 times, most recently from a91824a to 65fc2fd Compare January 6, 2025 14:30
@ltshb ltshb force-pushed the feat-PB-1176-minify branch from 65fc2fd to f130ec4 Compare January 8, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant