Skip to content

Add Cache-Control support for Parse.Files / FilesRouter #1857

Closed
@andresgarza

Description

@andresgarza

Currently, the FilesRouter sets no response headers other that the Content-Type of the file being requested. It would be great if we could somehow configure also sending a Cache-Control header for file requests.

One idea would be for each Parse.File to specify its cache mechanism (by default it could have caching disabled). Another idea is to have a "global" caching mechanism that could work as a default.

I would gladly help submitting a PR if someone could point me in the right direction :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions