Skip to content

Instantly share code, notes, and snippets.

@rafaelcaricio
Created November 5, 2010 05:18
Show Gist options
  • Save rafaelcaricio/663674 to your computer and use it in GitHub Desktop.
Save rafaelcaricio/663674 to your computer and use it in GitHub Desktop.
# ...
CACHE_MIDDLEWARE_KEY_PREFIX = 'atepassar'
# Cache system integrated with NGINX
CACHE_KEY_PREFIX = CACHE_MIDDLEWARE_KEY_PREFIX
CACHE_IGNORE_REGEXPS = (
r'/admin.*',
r'/cadastre.*',
r'/login.*',
r'/logout.*',
r'/contato.*',
)
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment