Skip to main content

ZTFY package used to handle caches

Project description


ZTFY.cache is a small package which provides a common interface to handle several cache backends.

Currently available backends include Zope native RAM cache and Memcached cache.

Cache proxy

The main concept included ZTFY.cache package is just those of a small proxy which provides a same interfaces to several proxy classes.

When defining a proxy, you just have to set the interface and the registration name matching the given registered cache utility. Cache access is then bound to the ICacheHandler interface, which allows you to set, query and invalidate data in the cache.

The cache proxy can be defined as a persistent utility, or through ZCML directives. Using ZCML can allow you to define different caches, according to the used application front-end.


Thierry Florac <>, Author



  • updated dependencies

  • updated Buildout’s bootstrap


  • package created using templer [Thierry Florac]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ztfy.cache-0.1.1.tar.gz (8.1 kB view hashes)

Uploaded source

Built Distribution

ztfy.cache-0.1.1-py2.7.egg (22.8 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page