doc/book/devweb/httpcaching.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 24 May 2019 17:09:10 +0200
changeset 12628 7b89cad574f8
parent 10491 c67bcee93248
permissions -rw-r--r--
Install patched yapps for test from an http archive Instead of git which require git to be installed. Also downloading archive is faster than cloning the repository.

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