diff options
author | Andrey Andreev <narf@devilix.net> | 2014-01-10 14:50:54 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-01-10 14:50:54 +0100 |
commit | 155ee7231c0ef72dc362c7d6423b2e4600024d3c (patch) | |
tree | a3d585cd4e224eba87bbaaa95317dd17b1f44ef0 /user_guide_src | |
parent | a0a73c977ce25911f56948d89de817b3ca83adcb (diff) |
Compress output before storing it to cache, if output compression is enabled
Based on PR #964
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/changelog.rst | 1 | ||||
-rw-r--r-- | user_guide_src/source/general/caching.rst | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst index 0488d9d4a..0e656a10d 100644 --- a/user_guide_src/source/changelog.rst +++ b/user_guide_src/source/changelog.rst @@ -439,6 +439,7 @@ Release Date: Not Released - Added a second argument to method ``set_content_type()`` that allows setting the document charset as well. - Added methods ``get_content_type()`` and ``get_header()``. - Added method ``delete_cache()``. + - Changed caching behavior to compress the output before storing it, if ``$config['compress_output']`` is enabled. - :doc:`Config Library <libraries/config>` changes include: diff --git a/user_guide_src/source/general/caching.rst b/user_guide_src/source/general/caching.rst index 48385d6c9..f499f6e93 100644 --- a/user_guide_src/source/general/caching.rst +++ b/user_guide_src/source/general/caching.rst @@ -45,6 +45,9 @@ you. Once the tag is in place, your pages will begin being cached. caching will only work if you are generating display for your controller with a :doc:`view <./views>`. +.. important:: If you change configuration options that might affect + your output, you have to manually delete your cache files. + .. note:: Before the cache files can be written you must set the file permissions on your *application/cache/* directory such that it is writable. |