Home
Support Forums

One script is missing "Vary: Accept-Encoding" response header

Hello,

  • All my scripts have a Vary: Accept-Encoding response header created automatically by netlify.
  • Only one script is served without this response header.

I can’t see any difference between all my scripts and my configuration.
Any idea/help. will be appreciated.

Site: https://www.lachotte.com (netlify name : lachotte)

Script:

<script
src=/js/footer_with_lazyload_lazy.min.a9e186bd890fc0b1d5c764c884154879a1312ea1cef308381e96067c259c1dac39ac1e1015c0f342ab6d218a609d06fc.js 
integrity=sha384-qeGGvYkPwLHVx2TIhBVIeaExLqHO8wg4HpYGfCWcHaw5rB4QFcDzQqttIYpgnQb8>
</script>

Hi @divinerites

I’ve had a look at one of my sites and can see the same thing. Most JavaScript (and other) files have the the Vary: Accept-Encoding header set. However, it appears those around 1000 bytes (1KB) do not have the header set which actually makes sense (to me) as they are so small as to make absolutely no difference in the loading of a page.

Your footer_with_lazyload... script is only 80 bytes.

1 Like