|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jotango Smarty Rookie
Joined: 20 Apr 2005 Posts: 13
|
Posted: Tue Mar 28, 2006 11:21 pm Post subject: Caching of included templates |
|
|
Hello,
I have set up our pages in a way that the .php file calls a template (filetoshow.tpl). Inside this template at the top I include the header.tpl, on the left the menu.tpl in the middle I write the text etc. I include these files using {include file="xy.tpl"}.
Now, how can I set my included templates to cache, but not the main one? I would like the menus etc. to be cached, but not the content in the middle of the page. How can I accomplish this?
Thanks
Jan |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|