The current implementation of data decompression uses DecompressionStream which is only available on the client side.
Since we need a common way to decompress data both in the service-worker and the server-portal (because soon all the portal implementations use a common library), we need to use Pako or another tool that works both on the client and the server side.
The current implementation of data decompression uses DecompressionStream which is only available on the client side.
Since we need a common way to decompress data both in the service-worker and the server-portal (because soon all the portal implementations use a common library), we need to use Pako or another tool that works both on the client and the server side.