Add dynamic cache for jinja template

Add dynamic cache for jinja template

for example, you can cache a query list as this:

{% cache 60 page, options %}
{% for post in posts %}{{ render_post(post) }} {%endfor%}
{% endcache %}