dwyl / dwyl/PWA-Liveview

Revert to gzip

Open
#69 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
33
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Curiously, I had to remove the ZSTD support and revert to GZIP for assets compression

1) either Phoenix does not send ZSTD
2) browser (Chrome) does not decompress ZSTD

A package exists: but with my former version (before mix deps upgrades & JS stuff upgrade - due to security advisor on `tar-fs = 2.1.4` patched), it worked without this.
But not anymore !?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at lib/liveview_pwa_web/endpoint.ex around line 58 and inspect the asset-compression setup alongside the recent dependency changes. Reproduce asset delivery in Phoenix and Chrome, then confirm that the selected compression is sent and decompressed correctly without regressing the existing setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.