zope.ramcache

Zope RAM Cache


Keywords
zope, cache, maintained
License
ZPL-2.1
Install
pip install zope.ramcache==3.0

Documentation

zope.ramcache

Latest release Supported Python versions 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.