denoland / denoland/deploy_feedback

[Bug]: gzip encoding is not consistent

Open
#643 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Problem description

gzip compression seems random. Some files are sometimes served un-gzipped when they should, based on https://docs.deno.com/deploy/api/compression

### Steps to reproduce

- go to https://fresh.deno.dev/
- In devTools, disable cache.
- check network tab, note the number of js files being served gzipped. (filter by js file and sort by name for ease of comparison)
![image](https://github.com/denoland/deploy_feedback/assets/10268458/35d3c3ac-5866-4ee2-9676-d0fd4403d8ac)

- refresh site and check again
![image](https://github.com/denoland/deploy_feedback/assets/10268458/397360fc-e374-4548-91d2-fb258a17981d)

- repeat as needed.
![image](https://github.com/denoland/deploy_feedback/assets/10268458/9d4b9954-da81-4cf6-8c1b-fe94d79c8127)

It is not always the same set of files being served gzipped.

### Expected behavior

I expect the behavior to be consistent with the documentation. i.e gzip is applied consistently.

### Environment

It seems to only affect deno deploy. I cannot reproduce on deno v1.42.0.

### Possible solution

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.