Skip to content

Commit

Permalink
[#1847] add ckan.use_pylons_response_cleanup_middleware to docs
Browse files Browse the repository at this point in the history
and deployment.ini_tmpl
  • Loading branch information
joetsoi committed Feb 5, 2015
1 parent 68d384c commit a7d5599
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/deployment.ini_tmpl
Expand Up @@ -57,7 +57,7 @@ ckan.datastore.default_fts_index_method = gist
## Site Settings

ckan.site_url =

#ckan.use_pylons_response_cleanup_middleware = true

## Authorization Settings

Expand Down
13 changes: 13 additions & 0 deletions doc/maintaining/configuration.rst
Expand Up @@ -264,6 +264,19 @@ Default value: ``None``

Controls if we're caching CKAN's static files, if it's serving them.

.. _ckan.use_pylons_response_cleanup_middleware:

ckan.use_pylons_response_cleanup_middleware
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Example::

ckan.use_pylons_response_cleanup_middleware = true

Default value: false

This enables middleware that clears the response string after it has been sent. This helps CKAN's memory management if CKAN repeatedly serves very large requests.

.. _ckan.static_max_age:

ckan.static_max_age
Expand Down

0 comments on commit a7d5599

Please sign in to comment.