MakingSense / WebApiCore-Seed

MIT License
2 stars 5 forks source link

Implement a gzip/deflate for large responses #31

Closed Dongata closed 6 years ago

andresmoschini commented 6 years ago

Implement a gzip/deflate for large responses

Why not for all of them?

Dongata commented 6 years ago

because doesn't make sense to compress something that enters on a single MTU, it is a waste of resources

andresmoschini commented 6 years ago

Thanks for your response! In that case, I guess that .NET Core GZIP middlewares should take that into account.

andresmoschini commented 6 years ago

It seems that maybe it is not a good idea to do it using .NET middlewares, see this article in Microsoft Docs

Dongata commented 6 years ago

Thanks for share, the compression should be a hosting responsibility, that is out of the scope for a seeder API, putting this on wontfix. Thank you again dude.

andresmoschini commented 6 years ago

👍