{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1857","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1857/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1857/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1857/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/1857","id":156065510,"number":1857,"title":"Add Cache-Control support for Parse.Files / FilesRouter","user":{"login":"andresgarza","id":154718,"avatar_url":"https://avatars.githubusercontent.com/u/154718?v=3","gravatar_id":"","url":"https://api.github.com/users/andresgarza","html_url":"https://github.com/andresgarza","followers_url":"https://api.github.com/users/andresgarza/followers","following_url":"https://api.github.com/users/andresgarza/following{/other_user}","gists_url":"https://api.github.com/users/andresgarza/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgarza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgarza/subscriptions","organizations_url":"https://api.github.com/users/andresgarza/orgs","repos_url":"https://api.github.com/users/andresgarza/repos","events_url":"https://api.github.com/users/andresgarza/events{/privacy}","received_events_url":"https://api.github.com/users/andresgarza/received_events","type":"User","site_admin":false},"labels":[{"id":318120539,"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":318120540,"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/good-first-pr","name":"good-first-pr","color":"159818","default":false},{"id":318400087,"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/up-for-grabs","name":"up-for-grabs","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-05-20T22:56:51Z","updated_at":"2016-12-15T18:58:34Z","closed_at":null,"body":"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.\n\nOne 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.\n\nI would gladly help submitting a PR if someone could point me in the right direction :)\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/267410729","html_url":"https://github.com/ParsePlatform/parse-server/issues/1857#issuecomment-267410729","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1857","id":267410729,"user":{"login":"bchapin","id":5325384,"avatar_url":"https://avatars.githubusercontent.com/u/5325384?v=3","gravatar_id":"","url":"https://api.github.com/users/bchapin","html_url":"https://github.com/bchapin","followers_url":"https://api.github.com/users/bchapin/followers","following_url":"https://api.github.com/users/bchapin/following{/other_user}","gists_url":"https://api.github.com/users/bchapin/gists{/gist_id}","starred_url":"https://api.github.com/users/bchapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchapin/subscriptions","organizations_url":"https://api.github.com/users/bchapin/orgs","repos_url":"https://api.github.com/users/bchapin/repos","events_url":"https://api.github.com/users/bchapin/events{/privacy}","received_events_url":"https://api.github.com/users/bchapin/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T18:58:34Z","updated_at":"2016-12-15T18:58:34Z","body":"Has cache control been added to the current S3 adapter?"}}
{"actor":{"display_login":"bchapin"}}