Skip to content

Question: ETag headers for static files #770

@njlr

Description

@njlr

Is there already a mechanism for serving files with the ETag header properly set?

Given the cost of computing the ETag (likely a hash of the file) I think this should be an opt-in feature.
To amortize the cost of hashing, we may want to leverage FileSystemWatcher.

If not, happy to send a PR with a bit of design direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions