doc/book/en/devweb/httpcaching.rst
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 11 Jun 2014 15:33:09 +0200
changeset 10318 09273cb083e7
parent 7529 2fdc310be7cd
permissions -rw-r--r--
[web/test] don't delete uicache directory Other tests use it, so the rmtree was a bit too much. Set CACHEDIR to a temporary subdirectory, and only delete that.

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