On 2004-09-14, =?Windows-1251?B?w+7w/Oro6SDe8Ojp?= <[EMAIL PROTECTED]> wrote:
> Hello html-template-users,
>
>   I don't know anything about how html-template caches its templates.
>
>   I'm using file_cache, and I have many templates for different
>   modules. I have two ways for handling it:
>
>   1.
>
>   main.tmpl:
>
>  <TMPL_INCLUDE "some_header.html">
>  <TMPL_IF _MODULE_MODULE1><TMPL_INCLUDE "modules/module1.tmpl"></TMPL_IF>
>  <TMPL_IF _MODULE_MODULE2><TMPL_INCLUDE "modules/module2.tmpl"></TMPL_IF>

My best understanding is that you only need to cache once, for the
"parent" page, and not for the included templates as well. 

This is because the way the include system works, it's just as if the
content in those files was actually in the parent document. 

        Mark



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users
  • ... Горький Юрий
    • Mark Stosberg

Reply via email to