You are here: Re: [SMARTY] Selective caching « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Selective caching

Posted by "messju mohr" on 11/18/05 09:59

On Fri, Nov 18, 2005 at 10:00:08AM +0530, Sajith A wrote:
> After going through samrty's doc i'm a bit confused about caching. It
> would be a great help if some one could point me the right way of
> doing it.
>
>
> Suppose i have a page similar to what is given below,
> --------------------------------------------------------------------------------------------------
> <html>
> <head>
> <title><{$SITE_TITLE}></title>
> </head>
> <body>
> <div id="menu">
> <{include file="includes/menu.tpl"}>
> </div>
> SATIC CONTENT HERE
> </body>
> </html>
> --------------------------------------------------------------------------------------------------
>
> and if i want to cache this page except the contents of menu.tpl .. is
> there a way in smarty to do this.

not with include. but with {insert} with an insert function that does
itself a $smarty->fetch().

> Or smarty doesn't support selective
> caching?
>
> Thank you
> Sajith A
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация