Skip to content

[CDN] Abstract out handling cache headers #1455

@TheArcaneBrony

Description

@TheArcaneBrony

Could probably be handled in a per route middleware? Would be nice if it was just one place though, and being able to configure the duraiton may be nice too.

Ex. 5a31ce9#diff-8473faf3257851a1c3d1dd0336b88f37e16000919f05cba7aef19c8d2e34dcb4

(app.get("path", cache, (req,res)=>...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions