HomePhabricator

[cashtab] enable gzip compression when serving cashtab

Description

[cashtab] enable gzip compression when serving cashtab

Summary:
as title.

local testing showed a notable improvement on load time.

Test Plan:

docker build -t cashtab_local .
docker run --rm -p 8080:80 --name cashtab cashtab_local

send and receive tokens and BCH. also the generated Lighthouse report on localhost:8080 in an incognito window shows a ~60% reduced Time to Interactive metric over master.

Reviewers: #bitcoin_abc, josephroyking

Reviewed By: #bitcoin_abc, josephroyking

Differential Revision: https://reviews.bitcoinabc.org/D9472

Details

Provenance
majcostaAuthored on May 4 2021, 15:48
majcostaPushed on May 4 2021, 16:28
Reviewer
Restricted Project
Differential Revision
D9472: [cashtab] enable gzip compression when serving cashtab
Parents
rABC005237ad2301: [trivial] fix return value not using alias for SchnorrSig
Branches
Unknown
Tags
Unknown