dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Response compress

Open midgogo opened this issue 8 months ago • 2 comments

What problem will this feature address?

Traefik does not have response compression enabled currently.

Describe the solution you'd like

HTTP responses should have compression enabled by default.

Describe alternatives you've considered

no

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

midgogo avatar Mar 10 '26 13:03 midgogo

@dosubot review

Siumauricio avatar Mar 10 '26 22:03 Siumauricio

This is a duplicate of Issue #3494, which already tracks this feature request.

Current status: Compression is not enabled by default. Dokploy's Traefik setup only includes a redirect-to-https middleware. Maintainers have indicated compression should remain optional (not enabled by default) with clear documentation.

Workaround: You can manually enable compression by creating /etc/dokploy/traefik/dynamic/compress.yml:

http:
  middlewares:
    compress:
      compress:
        encodings: [br, zstd, gzip]

If you want to contribute a PR, the TypeScript types for Traefik's Compress middleware already exist in the codebase—they just aren't being used yet. A PR would likely need to add a UI toggle or CLI option to enable compression per-application or globally.

To reply, just mention @dosu.


Share context across your team and agents. Try Dosu.

Leave Feedback Learn about dokploy with Dosu Add Dosu to your team

dosubot[bot] avatar Mar 10 '26 22:03 dosubot[bot]