nuxt-serverless icon indicating copy to clipboard operation
nuxt-serverless copied to clipboard

Explain why disable gzip

Open pschaub opened this issue 6 years ago • 2 comments

Hey dev 😄

Please explain why you change the GZIP behaviour here: https://github.com/jeehyukwon/nuxt-edge-serverless-template/blob/master/nuxt.config.js#L52-L53

I think you want to disable GZIP because AWS will do it themself, but why do you still use gzip on files that are bigger then 1073741824 ?

Btw: Same question why disabling etag https://github.com/jeehyukwon/nuxt-edge-serverless-template/blob/master/nuxt.config.js#L51

pschaub avatar Jul 14 '18 16:07 pschaub

Turning on the gzip compression option causes errors to pass through the AWS API Gateway. I have not solved this problem yet, so I have disabled the gzip compression option.

tonyfromundefined avatar Oct 26 '18 11:10 tonyfromundefined

This repo was exactly what i was looking for. Awesome work!

c-s-alex avatar Jul 12 '19 01:07 c-s-alex