djangosnippets.org: Latest snippets tagged with 'key'https://djangosnippets.org/tags/key_1/2011-11-08T23:38:05.005645-06:00Get the Django decorator/middleware cache key for given URL
2011-11-08T23:38:05.005645-06:00s29https://djangosnippets.org/snippets/2595/<p>This mimicks the keys used internally by the @cache_page decorators and site-wide CacheMiddleware. </p>
<p>Now you can poke them, prod them, delete them, do what you like with them (eg, delete after you update some content and you want a specific URL refreshed).</p>
Freely redistributable