{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1749","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1749/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1749/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1749/events","html_url":"https://github.com/slimphp/Slim/pull/1749","id":130127163,"number":1749,"title":"Configurable FastRoute Caching","user":{"login":"lupo-lupov","id":15185833,"avatar_url":"https://avatars.githubusercontent.com/u/15185833?v=3","gravatar_id":"","url":"https://api.github.com/users/lupo-lupov","html_url":"https://github.com/lupo-lupov","followers_url":"https://api.github.com/users/lupo-lupov/followers","following_url":"https://api.github.com/users/lupo-lupov/following{/other_user}","gists_url":"https://api.github.com/users/lupo-lupov/gists{/gist_id}","starred_url":"https://api.github.com/users/lupo-lupov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lupo-lupov/subscriptions","organizations_url":"https://api.github.com/users/lupo-lupov/orgs","repos_url":"https://api.github.com/users/lupo-lupov/repos","events_url":"https://api.github.com/users/lupo-lupov/events{/privacy}","received_events_url":"https://api.github.com/users/lupo-lupov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/slimphp/Slim/milestones/29","html_url":"https://github.com/slimphp/Slim/milestones/3.3.0","labels_url":"https://api.github.com/repos/slimphp/Slim/milestones/29/labels","id":1567883,"number":29,"title":"3.3.0","description":"","creator":{"login":"akrabat","id":33135,"avatar_url":"https://avatars.githubusercontent.com/u/33135?v=3","gravatar_id":"","url":"https://api.github.com/users/akrabat","html_url":"https://github.com/akrabat","followers_url":"https://api.github.com/users/akrabat/followers","following_url":"https://api.github.com/users/akrabat/following{/other_user}","gists_url":"https://api.github.com/users/akrabat/gists{/gist_id}","starred_url":"https://api.github.com/users/akrabat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrabat/subscriptions","organizations_url":"https://api.github.com/users/akrabat/orgs","repos_url":"https://api.github.com/users/akrabat/repos","events_url":"https://api.github.com/users/akrabat/events{/privacy}","received_events_url":"https://api.github.com/users/akrabat/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2016-02-06T13:02:00Z","updated_at":"2016-02-06T17:34:39Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-01-31T13:26:32Z","updated_at":"2016-02-08T11:23:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/slimphp/Slim/pulls/1749","html_url":"https://github.com/slimphp/Slim/pull/1749","diff_url":"https://github.com/slimphp/Slim/pull/1749.diff","patch_url":"https://github.com/slimphp/Slim/pull/1749.patch"},"body":"Enabling FastRoute cache can be made.\r\n\r\nThere are 2 new parameters in main settings that are with same meaning like FastRoute cache aprameters, but prefixed with 'router':\r\n\r\n- routerCacheDisabled - turn on/off route cache (true|false)\r\n- routerCacheFile - file path to be cached (string - file path with writeable directory)\r\n\r\nCache is disabled by default"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/181321949","html_url":"https://github.com/slimphp/Slim/pull/1749#issuecomment-181321949","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1749","id":181321949,"user":{"login":"silentworks","id":79497,"avatar_url":"https://avatars.githubusercontent.com/u/79497?v=3","gravatar_id":"","url":"https://api.github.com/users/silentworks","html_url":"https://github.com/silentworks","followers_url":"https://api.github.com/users/silentworks/followers","following_url":"https://api.github.com/users/silentworks/following{/other_user}","gists_url":"https://api.github.com/users/silentworks/gists{/gist_id}","starred_url":"https://api.github.com/users/silentworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentworks/subscriptions","organizations_url":"https://api.github.com/users/silentworks/orgs","repos_url":"https://api.github.com/users/silentworks/repos","events_url":"https://api.github.com/users/silentworks/events{/privacy}","received_events_url":"https://api.github.com/users/silentworks/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T11:23:21Z","updated_at":"2016-02-08T11:23:21Z","body":"I am not for this PR, I intentionally left our route caching from the core of the Framework due to the issues it could cause for someone who doesn't understand what it does. This would lead to us having more issues to attend to due to people enabling cache this easy. If you don't remove the cached route file on each deploy, you end up with a broken system. And for this reason I left this out and was planning to add to the documentation how to get it working along with these warnings."}}