{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/19091","labels_url":"https://api.github.com/repos/rails/rails/issues/19091/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/19091/comments","events_url":"https://api.github.com/repos/rails/rails/issues/19091/events","html_url":"https://github.com/rails/rails/pull/19091","id":59071506,"number":19091,"title":"Add rake dev:cache task to enable development mode caching","user":{"login":"Sonopa","id":2535512,"avatar_url":"https://avatars.githubusercontent.com/u/2535512?v=3","gravatar_id":"","url":"https://api.github.com/users/Sonopa","html_url":"https://github.com/Sonopa","followers_url":"https://api.github.com/users/Sonopa/followers","following_url":"https://api.github.com/users/Sonopa/following{/other_user}","gists_url":"https://api.github.com/users/Sonopa/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonopa/subscriptions","organizations_url":"https://api.github.com/users/Sonopa/orgs","repos_url":"https://api.github.com/users/Sonopa/repos","events_url":"https://api.github.com/users/Sonopa/events{/privacy}","received_events_url":"https://api.github.com/users/Sonopa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/openacademy","name":"openacademy","color":"eb6420"},{"url":"https://api.github.com/repos/rails/rails/labels/railties","name":"railties","color":"8BE06E"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-26T13:23:19Z","updated_at":"2015-02-27T15:05:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/19091","html_url":"https://github.com/rails/rails/pull/19091","diff_url":"https://github.com/rails/rails/pull/19091.diff","patch_url":"https://github.com/rails/rails/pull/19091.patch"},"body":"Running rake dev:cache will create or remove tmp/caching-dev.txt. When this file exists config.action_controller.perform_caching will be set to true in config/environments/development.rb.\r\n\r\nFixes #18875."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/76408119","html_url":"https://github.com/rails/rails/pull/19091#issuecomment-76408119","issue_url":"https://api.github.com/repos/rails/rails/issues/19091","id":76408119,"user":{"login":"carlosantoniodasilva","id":26328,"avatar_url":"https://avatars.githubusercontent.com/u/26328?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosantoniodasilva","html_url":"https://github.com/carlosantoniodasilva","followers_url":"https://api.github.com/users/carlosantoniodasilva/followers","following_url":"https://api.github.com/users/carlosantoniodasilva/following{/other_user}","gists_url":"https://api.github.com/users/carlosantoniodasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosantoniodasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosantoniodasilva/subscriptions","organizations_url":"https://api.github.com/users/carlosantoniodasilva/orgs","repos_url":"https://api.github.com/users/carlosantoniodasilva/repos","events_url":"https://api.github.com/users/carlosantoniodasilva/events{/privacy}","received_events_url":"https://api.github.com/users/carlosantoniodasilva/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T15:05:45Z","updated_at":"2015-02-27T15:05:45Z","body":":+1:. I think the original idea/pattern of using `tmp/somefile.txt` came from Basecamp, they are using that like feature toggles apparently. I'm not sure we're going to use that for any other thing right now, though, but the idea is that you don't need to manually restart the server.\r\n\r\nI sort of like being able to do that from the rails server command, I'd not mind that being the only way for doing this. But lets see what else this pattern can be useful for first."}}