Skip to content

Commit

Permalink
add note about express caching in production
Browse files Browse the repository at this point in the history
  • Loading branch information
kof committed Aug 29, 2011
1 parent 24c9ed8 commit 93b18ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -206,11 +206,13 @@ Note: passing json object with 2 curly brackets without any separation will brea
## Express specific stuff ## Express specific stuff


**Note: express is caching all templates in production!**

### Usage ### Usage


app.set("view engine", "html"); app.set("view engine", "html");
app.register(".html", require("jqtpl").express); app.register(".html", require("jqtpl").express);

### {{partial}} tag ### {{partial}} tag


Read express documentation here http://expressjs.com/guide.html#res.partial() Read express documentation here http://expressjs.com/guide.html#res.partial()
Expand Down

0 comments on commit 93b18ac

Please sign in to comment.