▲ | jtbaker 4 days ago | |
I’m using it as my ingress controller on my K3S homelab and it has definitely been a nice DX so far. The one thing I haven’t been able to figure out how to do with it is do compression (gzip/br/zstd) there, so I’m handling it in the application layer, which feels suboptimal. Any tips? Seems like a table stakes sort of feature in the space that shouldn’t be too hard to implement. | ||
▲ | hardwaresofton 4 days ago | parent [-] | |
Did the compress middleware not work for you? https://doc.traefik.io/traefik/middlewares/http/compress/ Are you trying to compress the request that has already come in to your cluster? I'm not sure there's a ton of value to be extracted there, since the requests have already made their way across the internet uncompressed to your ingress point. If there's a "long way" to go after hitting your ingress controller then maybe there's something to be gained... |