Hi,
Some of my JS assets are being returned with compression. There is no content-encoding: br header and the response sizes are the file size ( approx 3mb). I did a simple test to see if the file would be smaller when zipped up and it’s about 30% of the size - it’s a valid candidate for compression.
Request includes this header:
accept-encoding: gzip, deflate, br, zstd
There is no proxy and files are being requested directly from Netlify.
This is my netlify.toml file:
[build]
command = "npm run build"
# Disable Netlify’s default trailing slash redirects [context.production.environment]
TRAILING_SLASH = "ignore"
[[redirects]]
from = "/sitemap.xml"
to = "/sitemap.xml"
status = 200
There is no _headers file in my public directory.
This “was” working nicely but for whatever reason it has stopped. Is this something I can configure or somehow turn back on?
Many thanks in advance
JT