doc/book/devweb/httpcaching.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 05 Mar 2020 10:41:14 +0100
branch3.26
changeset 12905 fb6aecd654a3
parent 10491 c67bcee93248
permissions -rw-r--r--
[pkg] version 3.26.16

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