doc/book/devweb/httpcaching.rst
author Laurent Peuch <cortex@worlddomination.be>
Thu, 21 Feb 2019 18:51:36 +0100
changeset 12394 e847b5d1ffff
parent 10491 c67bcee93248
permissions -rw-r--r--
[doc] always put file name for code example and uses :file:`path` syntax everywhere

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