Cache

Provides herokuify.cache.get_cache_config() that reads Memcache cache settings from Heroku environment for Memcache or MemCachier add-ons.

Note

This functionality relies on django-heroku-memcacheify.

Django config

Use this to configure cache settings in your Django project:

import herokuify
CACHES = herokuify.get_cache_config()

Heroku config

Use heroku addons command to subscribe for Memcache or MemCachier.

Quick start with either:

heroku addons:add memcache:5mb

heroku addons:add memcachier:dev

Table Of Contents

Previous topic

Database configuration

Next topic

Email configuration

Python Development

Django web development for startups and businesses.

Quality Python development and scientific applications.

Quick links

Edit this document

The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.