MystenLabs / walrus-sites

Walrus Sites: Decentralized Websites using Sui and Walrus.
https://docs.walrus.site/walrus-sites/intro.html
Apache License 2.0
17 stars 16 forks source link

[Feature:] Update the data decompression function #130

Closed Tzal3x closed 1 month ago

Tzal3x commented 1 month ago

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.