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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file ztfy.cache-0.1.1.tar.gz.

File metadata

  • Download URL: ztfy.cache-0.1.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ztfy.cache-0.1.1.tar.gz
Algorithm Hash digest
SHA256 222ad254f7e432da10f5f7be0d0b250bea4a0f4670ad283948c2fa418e838c08
MD5 dbe2bd08c5de96159fffa38bd8e8c784
BLAKE2b-256 51f3773ba09aefe7689204cacff4d380852d01ed162e8bfd5f30b28865e7c080

See more details on using hashes here.

File details

Details for the file ztfy.cache-0.1.1-py2.7.egg.

File metadata

File hashes

Hashes for ztfy.cache-0.1.1-py2.7.egg
Algorithm Hash digest
SHA256 3aa8638fc057c00b81503dbc57afec96a70863808a6a3862383ac6e0a98983a7
MD5 4a7c11ea322c2ab063e62d229a7695ae
BLAKE2b-256 5bc5b391bab7a0f724808fc88fb6659230ccbca16170747e3baac228a4fcaa58

See more details on using hashes here.

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