#Compression with SSR

2 messages · Page 1 of 1 (latest)

silent crest
#

I’m building a simple SSR site with Astro and the node integration. I’m just running it locally but I noticed that the response isn’t being compressed. I’ve added the compression integration and see some compressed files but noticed the warning saying that it doesn’t compress your requests. How do you enable compression for responses in SSR with Astro?

silent crest
#

For anyone else, I switched to using middleware mode and then rolled it up into my own Koa server with compression