doc/book/en/devweb/httpcaching.rst
author Julien Jehannet <julien.jehannet@logilab.fr>
Thu, 16 Jun 2011 12:31:27 +0200
branchstable
changeset 7529 2fdc310be7cd
parent 5394 105011657405
permissions -rw-r--r--
[book] add autoload section from code and fix sphinx warnings * drop misleading faq entry since clear explanation can be found in internationalization chapter * use autodata sphinx directive instead of raw text * fill empty chapter with autodoc: - devweb/httpcaching.rst - devweb/resource.rst - devweb/views/idownloadable.rst - devweb/views/wdoc.rst * use shebang in excerpt to denote shell code * fix some bad indented docstrings in javascript files

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