Thank you very much!!
Michael P. Jung wrote:
> > How can I cache the sub-template witch is included in the main
> > template? And how can I ensure it won't be render(parse) the next
> > request?
>
> If you look at django.template.loader_tags.do_include you'll notice an
> if statement that checks
On 10月19日, 下午4时34分, "Michael P. Jung" wrote:
> > There is a templatetags {% include 'x.html' %}, it's very nice. may a
> > templatetags like {% include no-parse "x.html"} is needed. It's so
> > powerful to improve the speed of include some static files which has
> > no
你好!
pay attention:
SSI ... “which must be specified using an absolute path -- in the
current page
it's not good for migrating.
谢谢!(thanks!)
On 10月19日, 上午1时26分, dc wrote:
> Please read
> documentationhttp://docs.djangoproject.com/en/dev/ref/templates/builtins/#ssi
There is a templatetags {% include 'x.html' %}, it's very nice. may a
templatetags like {% include no-parse "x.html"} is needed. It's so
powerful to improve the speed of include some static files which has
no variable,and it's so easy for you guys, isn't it?