-
-
Notifications
You must be signed in to change notification settings - Fork 806
Dev server ignores assets compression settings #4158
Copy link
Copy link
Open
Labels
Description
Environment
bleeding edge
Reproduction
just run dev server with "publicAssets" section, try to download large zip archive, it will be painfully slow
Describe the bug
When downloading large zip files in dev server served from "publicAssets" it always apply compresison, even if "compressPublicAssets" is false, even for zip or other files.
I guess several solutions can be applied:
- respect compressPublicAssets and do not compress files at all in dev mode
- if files recognized as archives, do not compress them regardless of headers passed
Additional context
thanks for nice server :)
Logs
Reactions are currently unavailable