doc/book/devweb/httpcaching.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 15 Feb 2018 11:04:20 +0100
branch3.26
changeset 12280 577e8d3896b4
parent 10491 c67bcee93248
permissions -rw-r--r--
[server] unicode → text_type in utils

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