{ "info": { "author": "Zope Foundation and Contributors", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Environment :: Web Environment", "Framework :: Zope", "Framework :: Zope :: 4", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython" ], "description": ".. image:: https://travis-ci.org/zopefoundation/Products.StandardCacheManagers.svg?branch=master\n :target: https://travis-ci.org/zopefoundation/Products.StandardCacheManagers\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/Products.StandardCacheManagers/badge.svg?branch=master\n :target: https://coveralls.io/github/zopefoundation/Products.StandardCacheManagers?branch=master\n\n.. image:: https://img.shields.io/pypi/v/Products.StandardCacheManagers.svg\n :target: https://pypi.org/project/Products.StandardCacheManagers/\n :alt: Current version on PyPI\n\n.. image:: https://img.shields.io/pypi/pyversions/Products.StandardCacheManagers.svg\n :target: https://pypi.org/project/Products.StandardCacheManagers/\n :alt: Supported Python versions\n\nOverview\n========\n\nThis package provides two cache managers for Zope. A RAMCacheManager and an\nAccelerated HTTP cache manager, which adds HTTP cache headers to responses.\n\nThe following is intended for people interested in the internals of\nRAMCacheManager, such as maintainers.\n\nIntroduction\n============\n\nThe caching framework does not interpret the data in any way, it acts\njust as a general storage for data passed to it. It tries to check if\nthe data is pickleable though. IOW, only pickleable data is\ncacheable. \n\nThe idea behind the RAMCacheManager is that it should be shared between\nthreads, so that the same objects are not cached in each thread. This\nis achieved by storing the cache data structure itself as a module\nlevel variable (RAMCacheManager.caches). This, of course, requires\nlocking on modifications of that data structure.\n\nEach RAMCacheManager instance has one cache in RAMCacheManager.caches\ndictionary. A unique __cacheid is generated when creating a cache\nmanager and it's used as a key for caches.\n\nObject Hierarchy\n================\n\nRAMCacheManager\n RAMCache\n ObjectCacheEntries\n CacheEntry\n\nRAMCacheManager is a persistent placeful object. It is assigned a\nunique __cacheid on its creation. It is then used as a key to look up\nthe corresponding RAMCache object in the global caches dictionary.\nSo, each RAMCacheManager has a single RAMCache related to it.\n\nRAMCache is a volatile cache, unique for each RAMCacheManager. It is\nshared among threads and does all the locking. It has a writelock.\nNo locking is done on reading though. RAMCache keeps a dictionary of\nObjectCacheEntries indexed by the physical path of a cached object.\n\nObjectCacheEntries is a container for cached values for a single object. \nThe values in it are indexed by a tuple of a view_name, interesting \nrequest variables, and extra keywords passed to Cache.ZCache_set(). \n\nCacheEntry is a wrapper around a single cached value. It stores the\ndata itself, creation time, view_name and keeps the access count.\n\nChangelog\n=========\n\n4.0.3 (2019-10-14)\n------------------\n\n- more package cleanups\n\n- cleaned up ZMI views for Zope 4\n\n- fixed several errors due to changed behavior in Python 3\n\n\n4.0.2 (2019-02-17)\n------------------\n\n- Specify supported Python versions using ``python_requires`` in setup.py\n\n- Added support for Python 3.7 and 3.8\n\n- Dropped support for Python 3.4 as Zope does not support it anymore\n\n- More PEP8 compliance.\n\n\n4.0.1 (2017-05-23)\n------------------\n\n- Move version dependency to a released version of Zope\n\n\n4.0.0 (2017-05-13)\n------------------\n\n- Require Zope 4.\n\n- Python 3-compatibility\n\n\n3.0 (2016-07-18)\n----------------\n\n- Remove HelpSys support.\n\n\n2.13.1 (2014-09-14)\n-------------------\n\n- Prevent warnings when RAM caching in a context without a Request.\n\n\n2.13.0 (2010-07-11)\n-------------------\n\n- Released as separate package.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zopefoundation/Products.StandardCacheManagers", "keywords": "", "license": "ZPL 2.1", "maintainer": "", "maintainer_email": "", "name": "Products.StandardCacheManagers", "package_url": "https://pypi.org/project/Products.StandardCacheManagers/", "platform": "", "project_url": "https://pypi.org/project/Products.StandardCacheManagers/", "project_urls": { "Homepage": "https://github.com/zopefoundation/Products.StandardCacheManagers", "Issue Tracker": "https://github.com/zopefoundation/Products.StandardCacheManagers/issues", "Sources": "https://github.com/zopefoundation/Products.StandardCacheManagers" }, "release_url": "https://pypi.org/project/Products.StandardCacheManagers/4.0.3/", "requires_dist": [ "setuptools", "six", "AccessControl", "transaction", "Zope2 (>=4.0a5)", "zope.component" ], "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "summary": "Cache managers for Zope", "version": "4.0.3" }, "last_serial": 5974339, "releases": { "2.13.0": [ { "comment_text": "", "digests": { "md5": "c5088b2b62bd26d63d9579a04369cb73", "sha256": "9ddd7bb628bd12464865ae7e294117103786074f4bc9afc531aeadced6822001" }, "downloads": -1, "filename": "Products.StandardCacheManagers-2.13.0.zip", "has_sig": false, "md5_digest": "c5088b2b62bd26d63d9579a04369cb73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34434, "upload_time": "2010-07-11T20:21:26", "url": "https://files.pythonhosted.org/packages/f1/10/250f17a17bba44f69947844d1b018953e864a8b96b7f96c32095b765ea2c/Products.StandardCacheManagers-2.13.0.zip" } ], "2.13.1": [ { "comment_text": "", "digests": { "md5": "d0e085781a286101033f72042d40e231", "sha256": "b27902493c85a08da2eba37691772d8eb9f04081c9b31bd3ab60d45834651dbd" }, "downloads": -1, "filename": "Products.StandardCacheManagers-2.13.1.tar.gz", "has_sig": false, "md5_digest": "d0e085781a286101033f72042d40e231", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22523, "upload_time": "2014-09-14T18:10:19", "url": "https://files.pythonhosted.org/packages/7f/a7/fb0ea5f0b3b189e7517580b6d84a5ed4ecc98bd2414bacc7c282c9bb28db/Products.StandardCacheManagers-2.13.1.tar.gz" } ], "3.0": [ { "comment_text": "", "digests": { "md5": "6670c05044c8ed1ad40911690e308a30", "sha256": "c1bd4f86f6aeac03d61a7da54a5b4ae67f9fefd6ef3b52d2944ee566773e41d2" }, "downloads": -1, "filename": "Products.StandardCacheManagers-3.0.zip", "has_sig": false, "md5_digest": "6670c05044c8ed1ad40911690e308a30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29879, "upload_time": "2016-07-18T20:21:51", "url": "https://files.pythonhosted.org/packages/bf/55/d35386ce5c76ae23d55ea3d490097913084a592049be58487779d5280412/Products.StandardCacheManagers-3.0.zip" } ], "4.0.0": [ { "comment_text": "", "digests": { "md5": "db3540354cc4d791afd4e1537b7b1c91", "sha256": "bb85360d99085653e530fa0d7827838369d40d9ca625f7a1bb36bb354bb8e24e" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.0.tar.gz", "has_sig": false, "md5_digest": "db3540354cc4d791afd4e1537b7b1c91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17979, "upload_time": "2017-05-13T10:32:13", "url": "https://files.pythonhosted.org/packages/f9/8b/d3367467a62a52a6f2eeafd3e73c4215d7b3e30fc7a1acee3449c8f8910a/Products.StandardCacheManagers-4.0.0.tar.gz" } ], "4.0.1": [ { "comment_text": "", "digests": { "md5": "775e7fbdde5fa49319c917d08125096f", "sha256": "f300e2553f305c0dd15fecb55a8d6ba86ec6f446d2921771404287b89974c223" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.1.tar.gz", "has_sig": false, "md5_digest": "775e7fbdde5fa49319c917d08125096f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17738, "upload_time": "2017-05-23T06:50:46", "url": "https://files.pythonhosted.org/packages/c4/6e/9ec515649a0cd6816e58ad718ba517ab89e3408a23f2453f001b259bad00/Products.StandardCacheManagers-4.0.1.tar.gz" } ], "4.0.2": [ { "comment_text": "", "digests": { "md5": "d26e4023539ef3b472c869723a420680", "sha256": "1f580e7e5812fb473ac9d98935bbe84e114d195666a0645422a86daaf1151330" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "d26e4023539ef3b472c869723a420680", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 24397, "upload_time": "2019-02-17T23:27:47", "url": "https://files.pythonhosted.org/packages/6f/c6/f3e2531398ec13be57fd87f8a3cf82c78c9b86148a6cd56e6dbd29952149/Products.StandardCacheManagers-4.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a6e3be76e922c7fde35d501df5e9d96", "sha256": "d2fa508d94b71c67a53b5aef746a493d9993317724726a397b27c1d47b7e1f29" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.2.tar.gz", "has_sig": true, "md5_digest": "1a6e3be76e922c7fde35d501df5e9d96", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 17210, "upload_time": "2019-02-17T23:27:52", "url": "https://files.pythonhosted.org/packages/73/12/180fffad1e33af7c3f072a116f674102e6892c5dba30a19ecdf5471f3f58/Products.StandardCacheManagers-4.0.2.tar.gz" } ], "4.0.3": [ { "comment_text": "", "digests": { "md5": "8b156156fdfcd4c9042104b7b3a5981b", "sha256": "18cc419a08bb0c6d67540b426d9e8b902429695eb60ac823c4a0d7d20c0cae4b" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.3-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "8b156156fdfcd4c9042104b7b3a5981b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 24930, "upload_time": "2019-10-15T01:50:59", "url": "https://files.pythonhosted.org/packages/8a/f3/da1c226849940cf302710723b231b5c5cae854c14be6e9a116fa6b89dbe9/Products.StandardCacheManagers-4.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd9dc682572abc29072b395a93816efb", "sha256": "de91522fe1d27adc4bd61d5910eeafc2dbb85042ca35a2730c6982ea18eedad8" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.3.tar.gz", "has_sig": true, "md5_digest": "dd9dc682572abc29072b395a93816efb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 18400, "upload_time": "2019-10-15T01:51:05", "url": "https://files.pythonhosted.org/packages/39/3e/b922b348d10158e2a94badf45f798b1b654a8a02841d0c21f0333a83c3c7/Products.StandardCacheManagers-4.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b156156fdfcd4c9042104b7b3a5981b", "sha256": "18cc419a08bb0c6d67540b426d9e8b902429695eb60ac823c4a0d7d20c0cae4b" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.3-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "8b156156fdfcd4c9042104b7b3a5981b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 24930, "upload_time": "2019-10-15T01:50:59", "url": "https://files.pythonhosted.org/packages/8a/f3/da1c226849940cf302710723b231b5c5cae854c14be6e9a116fa6b89dbe9/Products.StandardCacheManagers-4.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd9dc682572abc29072b395a93816efb", "sha256": "de91522fe1d27adc4bd61d5910eeafc2dbb85042ca35a2730c6982ea18eedad8" }, "downloads": -1, "filename": "Products.StandardCacheManagers-4.0.3.tar.gz", "has_sig": true, "md5_digest": "dd9dc682572abc29072b395a93816efb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 18400, "upload_time": "2019-10-15T01:51:05", "url": "https://files.pythonhosted.org/packages/39/3e/b922b348d10158e2a94badf45f798b1b654a8a02841d0c21f0333a83c3c7/Products.StandardCacheManagers-4.0.3.tar.gz" } ] }