For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > November 2005 > Selective caching









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Selective caching
Sajith A

2005-11-18, 3:58 am

After going through samrty's doc i'm a bit 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>
=09<title><{$SITE_TITLE}></title>
</head>
<body>
=09<div id=3D"menu">
=09=09<{include file=3D"includes/menu.tpl"}>
=09</div>
=09SATIC 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. Or smarty doesn't support selective
caching?

Thank you
Sajith A
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com