{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13715","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13715/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13715/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13715/events","html_url":"https://github.com/spring-projects/spring-boot/issues/13715","id":338767680,"node_id":"MDU6SXNzdWUzMzg3Njc2ODA=","number":13715,"title":"Add configuration option for cache-control: immutable in http header","user":{"login":"xguo27","id":1249076,"node_id":"MDQ6VXNlcjEyNDkwNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1249076?v=4","gravatar_id":"","url":"https://api.github.com/users/xguo27","html_url":"https://github.com/xguo27","followers_url":"https://api.github.com/users/xguo27/followers","following_url":"https://api.github.com/users/xguo27/following{/other_user}","gists_url":"https://api.github.com/users/xguo27/gists{/gist_id}","starred_url":"https://api.github.com/users/xguo27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xguo27/subscriptions","organizations_url":"https://api.github.com/users/xguo27/orgs","repos_url":"https://api.github.com/users/xguo27/repos","events_url":"https://api.github.com/users/xguo27/events{/privacy}","received_events_url":"https://api.github.com/users/xguo27/received_events","type":"User","site_admin":false},"labels":[{"id":825071933,"node_id":"MDU6TGFiZWw4MjUwNzE5MzM=","url":"https://api.github.com/repos/spring-projects/spring-boot/labels/for:%20external-project","name":"for: external-project","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-06T00:34:31Z","updated_at":"2018-07-07T02:09:01Z","closed_at":"2018-07-06T02:30:50Z","author_association":"NONE","body":"<!--\r\nThanks for raising a Spring Boot issue. Please take the time to review the following\r\ncategories as some of them do not apply here.\r\n\r\n❓Question\r\nSTOP!! Please ask questions about how to use something, or to understand why something isn't\r\nworking as you expect it to, on Stack Overflow using the spring-boot tag.\r\n\r\n🐞 Bug report\r\nPlease provide details of the problem, including the version of Spring Boot that you\r\nare using. If possible, please provide a test case or sample application that reproduces\r\nthe problem. This makes it much easier for us to diagnose the problem and to verify that\r\nwe have fixed it.\r\n\r\n🚨 Security Vulnerability\r\nSTOP!! Please don't raise security vulnerabilities here. Head over to https://pivotal.io/security to learn how to disclose them responsibly.\r\n\r\n🎁 Enhancement\r\nPlease start by describing the problem that you are trying to solve. There may already\r\nbe a solution, or there may be a way to solve it that you hadn't considered.\r\n\r\n🙅 Managed dependency upgrade\r\nYou DO NOT need to raise an issue for a managed dependency version upgrade as there's a semi-automatic process for checking managed dependencies for new versions before a release. But pull requests for upgrades that are more involved than just a version property change are still most welcome.\r\n-->\r\n\r\nWe are facing an issue where even we set all appropriate options delineated at: https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html the caching still does not work completely on Firefox. The goal is to have static files cached on local browser for users, with no re-fetching if the cache has not expired. Whereas what we see is that the cache gets invalidated every other time (caches only half of the time, and the response code flip-flops between 200 and 304). Turns out that firefox relies on `cache-control: immutable` to make sure the cache does not get invalidated.\r\n\r\nLooking at https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/CacheControl.html , there is no option to set that `immutable` flag, is it possible to add the option?"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/403181538","html_url":"https://github.com/spring-projects/spring-boot/issues/13715#issuecomment-403181538","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13715","id":403181538,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzE4MTUzOA==","user":{"login":"philwebb","id":519772,"node_id":"MDQ6VXNlcjUxOTc3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/519772?v=4","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T02:09:01Z","updated_at":"2018-07-07T02:09:01Z","author_association":"MEMBER","body":"> We filed a bug with Firefox and they chose not to alter the long standing behavior of the reload button\r\n\r\nCan you provide a link to the reported issue please."}}
{"actor":{"display_login":"philwebb"}}