Some webjars (e.g. org.webjars:bootstrap:4.3.1
) come with pre-compressed resources.
If available, and the request has Accept-Encoding: gzip
, these should be served rather than compressing the regular resource on the fly.
Comment From: OrangeDog
Actually, this is already handled by the EncodedResourceResolver
.