doc/book/devweb/httpcaching.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 20 Jan 2017 09:55:08 +0100
changeset 11916 f0bc9ca93e21
parent 10491 c67bcee93248
permissions -rw-r--r--
[test] avoid using a deprecated feature of yams handle_file() now require a module name (yams@d9120d7)

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