Skip to content

File server missing Vary on 206, 304 #5849

Closed

Description

I'm checking my caching headers for assets served by file server. It all works as expected, but RedBot claims it should be adding Vary when serving 206, 304.

I've checked Caddy site itself that it's not some misconfiguration on my end, but it doesn't seem to be, the case there seems even worse:
https://redbot.org/?uri=https://caddyserver.com/resources/css/docs.css?v=dfd5278

REDbot-https-caddyserver-com-resources-css-docs-css-v-dfd5278-

It seems the Vary needs to be sent in both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bug 🐞Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions