doc/book/en/devweb/httpcaching.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 03 Apr 2014 18:16:10 +0200
changeset 9631 c51a05b5dcb8
parent 7529 2fdc310be7cd
permissions -rw-r--r--
[devtools] deprecate CWTC.user()

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