Adds a setting to cache textile rendering (off by default).

* it uses ActionController cache store which is MemoryStore by default and can be configured with config.action_controller.cache_store
* macro processing was moved out of textile rendering so that it doesn't get cached
* no noticeable improvement is expected for small portions of text, so only texts larger than 2KB are cached

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3372 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-02-06 10:40:21 +00:00
1 parent 6c8b87fbc8
commit 2ad8242ae7
44 files changed
+100 -33

No files matched your search

+2
View File
@@ -53,6 +53,8 @@ plain_text_mail:
default: 0
text_formatting:
default: textile
cache_formatted_text:
default: 0
wiki_compression:
default: ""
default_language: