Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Update docs/ to mention the `cache` configuration …

  • Loading branch information...
1 parent 888c752 commit a57da5eae5cb01ac92b14780f8d2fe4fbfb07e2f @Anks Anks committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/
5 docs/
@@ -9,6 +9,7 @@ In order to start using Swig, you should initialize it. Swig can be configured u
allowErrors: false,
autoescape: true,
+ cache: true,
encoding: 'utf8',
filters: {},
root: '/',
@@ -37,6 +38,10 @@ Automatically escape all variable output. This is the default behavior and it is
For character conversion tables, see the [escape filter](
+#### cache _optional_
+Default is `true`. Keeping this off will re-compile the template files for each request. Not recommended in production.
#### encoding _optional_
The character encoding for template files. Defaults to `utf8`.

0 comments on commit a57da5e

Please sign in to comment.
Something went wrong with that request. Please try again.