I wanted to know if Netlify adds expired headers and gzip auto on the build and deployment?
We do automatically compress (when the right parameters are met) using either Brotli or Gzip compression, yes. We also have a default set of headers such as
cache-control: public, max-age=0, must-revalidate
Is it possible that something is missing this up on the site when I run Pingdom Website Speed Test this is coming as needing to add expired header
Honestly? It’s a bit of a red herring. The
Expires header is superseded in our usage by
cache-control. There’s a good discussion here!
TL:DR; you don’t need it