doc/book/devweb/httpcaching.rst
author Julien Tayon <julien.tayon@logilab.fr>
Tue, 25 Feb 2020 23:31:30 +0100
branch3.26
changeset 12904 2ad148f22c2f
parent 10491 c67bcee93248
permissions -rw-r--r--
[ldapfeed] add option to enable starttls on ldap servers Modern ldap servers connection often use, or even require starttls.

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