loculus-project / loculus

An open-source software package to power microbial genomic databases
https://loculus.org
GNU Affero General Public License v3.0
34 stars 2 forks source link

HTTP compression + HTTP 3 support #839

Open chaoran-chen opened 8 months ago

chaoran-chen commented 8 months ago

Currently, for the previews, the server responses are all not compressed and use HTTP 2. We should enable support for compression and maybe also HTTP 3.

This should cover all the components (website, backend, and LAPIS).

I'll put it into the MVP milestone as I assume that it is not too hard to do. If it's difficult, we can do it post-MVP.

fengelniederhammer commented 8 months ago

Spring boot supports gzip compression out of the box: https://www.springcloud.io/post/2022-05/resttemplate-gzip/#springboot-application&gsc.tab=0