doc/book/devweb/httpcaching.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 28 Nov 2019 11:48:03 +0100
changeset 12779 44147dab9d27
parent 10491 c67bcee93248
permissions -rw-r--r--
Use python3 shebang for scripts Reported by lintian "python-script-but-no-python-dep"

HTTP cache management
=====================

.. automodule:: cubicweb.web.httpcache

Cache policies
--------------
.. autoclass:: cubicweb.web.httpcache.NoHTTPCacheManager
.. autoclass:: cubicweb.web.httpcache.MaxAgeHTTPCacheManager
.. autoclass:: cubicweb.web.httpcache.EtagHTTPCacheManager
.. autoclass:: cubicweb.web.httpcache.EntityHTTPCacheManager

Exception
---------
.. autoexception:: cubicweb.web.httpcache.NoEtag

Helper functions
----------------
.. autofunction:: cubicweb.web.httpcache.set_http_cache_headers

.. NOT YET AVAILABLE IN STABLE autofunction:: cubicweb.web.httpcache.lastmodified