{"comment":{"url":"https://api.github.com/repos/mozilla/kuma/comments/12884800","html_url":"https://github.com/mozilla/kuma/commit/d18278fecacef120f396617f9c700c10cd76eab2#commitcomment-12884800","id":12884800,"user":{"login":"jwhitlock","id":286017,"avatar_url":"https://avatars.githubusercontent.com/u/286017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false},"position":23,"line":104,"path":"kuma/wiki/apps.py","commit_id":"d18278fecacef120f396617f9c700c10cd76eab2","created_at":"2015-08-25T16:52:40Z","updated_at":"2015-08-25T16:52:40Z","body":"I think this should use ``.delete()`` instead of ``.renew()``.  The number of pages with code samples is tiny, and ``.renew()`` creates a cryptographically strong random number with every page edit, and stores it forever.  That's a lot of cache entries that will never be used or expire.\r\n\r\nMy way to track DocumentCodeSampleJob memcache requests locally is to halt memcached, and run:\r\n``memcached -vv 2>&1 | grep DocumentCodeSampleJob``"}}