- If unmarshalling of cached data fails the template will be
reloaded now.
- Implemented a block ``set`` tag.
+- Default cache size was incrased to 400 from a low 50.
Version 2.7.3
-------------
The template loader for this environment.
`cache_size`
- The size of the cache. Per default this is ``50`` which means
- that if more than 50 templates are loaded the loader will clean
+ The size of the cache. Per default this is ``400`` which means
+ that if more than 400 templates are loaded the loader will clean
out the least recently used template. If the cache size is set to
``0`` templates are recompiled all the time, if the cache size is
``-1`` the cache will not be cleaned.
+ .. versionchanged:: 2.8
+ The cache size was increased to 400 from a low 50.
+
`auto_reload`
Some loaders load templates from locations where the template
sources may change (ie: file system or database). If
finalize=None,
autoescape=False,
loader=None,
- cache_size=50,
+ cache_size=400,
auto_reload=True,
bytecode_cache=None):
# !!Important notice!!