doc/book/en/devweb/httpcaching.rst
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Mon, 02 Jun 2014 16:13:33 +0200
changeset 9805 1b864f5541cf
parent 7529 2fdc310be7cd
permissions -rw-r--r--
[tests/sqlutils] use the new connection api

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