This package provides a RAM cache implementation for Zope.
Python
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/zope
.coveragerc
.gitignore
.travis.yml
CHANGES.rst
COPYRIGHT.txt
LICENSE.txt
MANIFEST.in
README.rst
bootstrap.py
buildout.cfg
setup.cfg
setup.py
tox.ini

README.rst

zope.ramcache

Latest release Supported Python versions https://travis-ci.org/zopefoundation/zope.ramcache.svg?branch=master https://coveralls.io/repos/github/zopefoundation/zope.ramcache/badge.svg?branch=master

This package provides a RAM-based cache implementation for Zope.

The class zope.ramcache.ram.RAMCache is a (persistent) object meant to be shared between threads. It implements zope.ramcache.interfaces.ram.IRAMCache, which provides a simple interface to cache information as well as defines a maximum number and age for cached entries.

The cache is based on the idea of using arbitrary objects as keys, with the ability to associate additional information in the cache key for any given object. For example, it's possible to cache information for an object for multiple different users simultaneously.