Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cfpb/django-cache-tools

Tools to make caching easier in Django
https://github.com/cfpb/django-cache-tools

Last synced: 17 days ago
JSON representation

Tools to make caching easier in Django

Awesome Lists containing this project

README

        

Django Cache Tools
========================

[![Build Status](https://travis-ci.org/cfpb/django-cache-tools.png?branch=master)](https://travis-ci.org/cfpb/django-cache-tools)

Django Cache tools is a basic set of tools to built on top of the django cache framework
to make it easier to use and add caching related features.

Tools included
------------------------------------
- KeyableModel: Model that has a cache_key to cache with.
- expire_page: Expire a page with a given path.
- @cache_page_in_group: Cache pages with a given group name so they can be expired all at one.

Documentation
------------------------------------
You can find the docs at http://django-cache-tools.readthedocs.org/.

Running the Tests
------------------------------------

You can run the tests with via::

python runtests.py