redwoodjs / redwood

The App Framework for Startups
https://redwoodjs.com
MIT License
17.19k stars 983 forks source link

[Bug?]: fastify compress plugin not working as per docs #10519

Open cadlagtrader opened 5 months ago

cadlagtrader commented 5 months ago

What's not working?

Registering @Fastify/compress as per https://redwoodjs.com/docs/docker#example-compressing-payloads-and-rate-limiting has no effect. Payloads are not compressed

How do we reproduce the bug?

Starter project + @fastify/compress plugin as per docs

What's your environment? (If it applies)

System:
    OS: macOS 14.4.1
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 124.0.6367.91
    Safari: 17.4.1
  npmPackages:
    @redwoodjs/auth-supertokens-setup: 7.3.2 => 7.3.2 
    @redwoodjs/cli-data-migrate: 7.3.2 => 7.3.2 
    @redwoodjs/cli-storybook: 7.3.2 => 7.3.2 
    @redwoodjs/core: 7.3.2 => 7.3.2 
    @redwoodjs/realtime: 7.3.2 => 7.3.2 
    @redwoodjs/studio: 11.3.1 => 11.3.1

Are you interested in working on this?

Tobbe commented 5 months ago

Thanks for the issue report @cadlagtrader. I'll see if I can find someone on the team who wants to take a look at this

dthyresson commented 4 months ago

Hi @cadlagtrader we have a PR here https://github.com/redwoodjs/redwood/pull/10449 that we'll test as should fix this issue. Thanks again for reporting!

Tobbe commented 4 months ago

Work has moved on to https://github.com/redwoodjs/redwood/pull/10573