summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.1.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-12 20:56:53 -0400
committerChris McDonough <chrism@plope.com>2011-07-12 20:56:53 -0400
commite573d4356ed0371f5ba34ff3ff396fefd2e55913 (patch)
treec226f33a35092415488d6cb62febf39e3028c521 /docs/whatsnew-1.1.rst
parentaec6b29b42ad2acf0c9febd884ae9db1316022c5 (diff)
downloadpyramid-e573d4356ed0371f5ba34ff3ff396fefd2e55913.tar.gz
pyramid-e573d4356ed0371f5ba34ff3ff396fefd2e55913.tar.bz2
pyramid-e573d4356ed0371f5ba34ff3ff396fefd2e55913.zip
- New environment setting ``PYRAMID_PREVENT_HTTP_CACHE`` and new
configuration file value ``prevent_http_cache``. These are synomymous and allow you to prevent HTTP cache headers from being set by Pyramid's ``http_cache`` machinery globally in a process. see the "Influencing HTTP Caching" section of the "View Configuration" narrative chapter and the detailed documentation for this setting in the "Environment Variables and Configuration Settings" narrative chapter. - New documentation section in View Configuration narrative chapter: "Influencing HTTP Caching".
Diffstat (limited to 'docs/whatsnew-1.1.rst')
-rw-r--r--docs/whatsnew-1.1.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/whatsnew-1.1.rst b/docs/whatsnew-1.1.rst
index b55b30238..20b346090 100644
--- a/docs/whatsnew-1.1.rst
+++ b/docs/whatsnew-1.1.rst
@@ -167,6 +167,12 @@ Minor Feature Additions
to only influence ``Cache-Control`` headers, pass a tuple as ``http_cache``
with the first element of ``None``, e.g.: ``(None, {'public':True})``.
+ The environment setting ``PYRAMID_PREVENT_HTTP_CACHE`` and configuration
+ file value ``prevent_http_cache`` are synomymous and allow you to prevent
+ HTTP cache headers from being set by Pyramid's ``http_cache`` machinery
+ globally in a process. see :ref:`influencing_http_caching` and
+ :ref:`preventing_http_caching`.
+
- A `JSONP <http://en.wikipedia.org/wiki/JSONP>`_ renderer. See
:ref:`jsonp_renderer` for more details.