通过orm实现django模型的自动缓存和失效。
django-cache-zoom的Python项目详细描述
cache machine为django模型提供自动缓存和失效 通过ORM。 添加对模型SQL函数的完全缓存支持。
有关django缓存计算机完整文档,请参见https://cache-machine.readthedocs.org/en/latest/。
要求
缓存计算机需要django 1.3+。它是在Python2.7上编写和测试的。
运行测试
从github:
git clone git://github.com/lethe3000/django-cache-zoom.git cd django-cache-zoom pip install -r requirements.txt fab test