Skip to main content

ZTFY package used to handle caches

Project description

Introduction

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.

Contributors

Thierry Florac <tflorac@ulthar.net>, Author

Changelog

0.1.1

  • updated dependencies

  • updated Buildout’s bootstrap

0.1.0

  • 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 Source

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