web-mapviewer icon indicating copy to clipboard operation
web-mapviewer copied to clipboard

PB-1176: Minify the index.html

Open ltshb opened this issue 1 year ago • 2 comments

This remove the unnecessary white spaces

Test link

ltshb avatar Dec 10 '24 06:12 ltshb

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 ↗︎

cypress[bot] avatar Dec 10 '24 06:12 cypress[bot]

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 avatar Dec 10 '24 11:12 ltshb