Closed
Description
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 :)