{"action":"created","issue":{"url":"https://api.github.com/repos/shoopio/shoop/issues/227","labels_url":"https://api.github.com/repos/shoopio/shoop/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/shoopio/shoop/issues/227/comments","events_url":"https://api.github.com/repos/shoopio/shoop/issues/227/events","html_url":"https://github.com/shoopio/shoop/pull/227","id":111587677,"number":227,"title":"Add autoexpiring versioned cache API (SHOOP-1702)","user":{"login":"akx","id":58669,"avatar_url":"https://avatars.githubusercontent.com/u/58669?v=3","gravatar_id":"","url":"https://api.github.com/users/akx","html_url":"https://github.com/akx","followers_url":"https://api.github.com/users/akx/followers","following_url":"https://api.github.com/users/akx/following{/other_user}","gists_url":"https://api.github.com/users/akx/gists{/gist_id}","starred_url":"https://api.github.com/users/akx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akx/subscriptions","organizations_url":"https://api.github.com/users/akx/orgs","repos_url":"https://api.github.com/users/akx/repos","events_url":"https://api.github.com/users/akx/events{/privacy}","received_events_url":"https://api.github.com/users/akx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shoopio/shoop/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"suutari-ai","id":3531281,"avatar_url":"https://avatars.githubusercontent.com/u/3531281?v=3","gravatar_id":"","url":"https://api.github.com/users/suutari-ai","html_url":"https://github.com/suutari-ai","followers_url":"https://api.github.com/users/suutari-ai/followers","following_url":"https://api.github.com/users/suutari-ai/following{/other_user}","gists_url":"https://api.github.com/users/suutari-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/suutari-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suutari-ai/subscriptions","organizations_url":"https://api.github.com/users/suutari-ai/orgs","repos_url":"https://api.github.com/users/suutari-ai/repos","events_url":"https://api.github.com/users/suutari-ai/events{/privacy}","received_events_url":"https://api.github.com/users/suutari-ai/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-10-15T10:23:36Z","updated_at":"2015-10-15T12:24:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shoopio/shoop/pulls/227","html_url":"https://github.com/shoopio/shoop/pull/227","diff_url":"https://github.com/shoopio/shoop/pull/227.diff","patch_url":"https://github.com/shoopio/shoop/pull/227.patch"},"body":"This is the versioned cache API as introduced in #62, rebased, extracted and slightly updated too."},"comment":{"url":"https://api.github.com/repos/shoopio/shoop/issues/comments/148370139","html_url":"https://github.com/shoopio/shoop/pull/227#issuecomment-148370139","issue_url":"https://api.github.com/repos/shoopio/shoop/issues/227","id":148370139,"user":{"login":"akx","id":58669,"avatar_url":"https://avatars.githubusercontent.com/u/58669?v=3","gravatar_id":"","url":"https://api.github.com/users/akx","html_url":"https://github.com/akx","followers_url":"https://api.github.com/users/akx/followers","following_url":"https://api.github.com/users/akx/following{/other_user}","gists_url":"https://api.github.com/users/akx/gists{/gist_id}","starred_url":"https://api.github.com/users/akx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akx/subscriptions","organizations_url":"https://api.github.com/users/akx/orgs","repos_url":"https://api.github.com/users/akx/repos","events_url":"https://api.github.com/users/akx/events{/privacy}","received_events_url":"https://api.github.com/users/akx/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T12:24:01Z","updated_at":"2015-10-15T12:24:01Z","body":"Replies to the outdated-diff comments:\r\n\r\n* Re making `SHOOP_DEFAULT_CACHE_DURATION` a timedelta: I don't want people to have to `import datetime` in the settings for this.\r\n* Re `PersistentCacheEntry`: `PersistentCacheEntry` was used (in A Previous Incarnation) for caching Matkahuolto pick-up point data, etc., so I think it still has its place.\r\n* Re the `DEFAULT_CACHE_DURATIONS` dict: If someone were to overwrite `SHOOP_CACHE_DURATIONS` in their settings for their own uses, there would no longer be any default cache durations."}}