doc/book/en/devweb/httpcaching.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Jul 2011 11:56:47 +0200
changeset 7643 f3e3892fc7e3
parent 7529 2fdc310be7cd
permissions -rw-r--r--
[book, form] include complete example of self-posted form with custom field/widget + minor other changes

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