Re: [SMARTY-DEV] Here it is: Patch for {nocache} support

From: Date: Tue, 15 Apr 2003 05:52:49 +0000
Subject: Re: [SMARTY-DEV] Here it is: Patch for {nocache} support
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1153@lists.php.net to get a copy of this message
"Monte Ohrt" <monte@ispi.net> schrieb im Newsbeitrag news:1050343682.13656.61.camel@lena.ispi.prv... > Cache functionality is the next major project for Smarty, this has been > waiting for post-2.5.0 release. There have been lots of discussions on > this in the recent past, and I think the most prominent method that > stood out was the ability to register a function as cached or > non-cached. Then if you wanted the {cache}{/nocache} functionality, you > could register a block function called "nocache" that is marked as a > non-cached function. > > Monte > Exactly, Monte. We already discussed this earlier if you remember. The patch is only a demonstration that it is possible and that it is easy to do. Not more than 15 lines of code and it works :-) Ok there are some bugs but I am currently testing it on a small part of my page. Currently it speeds up my site ~75 % ... WOW! Bye, André

« previous php.smarty.dev (#1153) next »