Re: Smaery integration with Zend Cache
| From: | Manuel Lemos | Date: | Thu, 30 Oct 2003 21:21:24 +0000 |
| Subject: | Re: Smaery integration with Zend Cache | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10477@lists.php.net to get a copy of this message | ||
Hello,
On 10/30/2003 06:43 PM, Marshall Sorenson wrote:
Has anybody attempted to use the Zend Cache (Enterprise), particularly the partial page caching functions, in place of native Smarty caching? I am working on a project that generates 1000s of Smarty cache files, and with changes that we are making, may generate 10000+. Trying to decide if its worth the effort to give Zend Cache a trial run. I was thinking it would be cool to write plugin block functions for these Zend caching functions: http://www.zend.com/store/products/performance_partial_output_caching.php Also thinking of embedding those functions in templates as PHP using {php}{/php}, to make it easy to cache large chunks of dynamic content spanning 2 or more non-nested templates. I think it may be possible to acheive a similar result with native Smarty caching, but probably would not be fun to try. Any thoughts?I am not sure if caching that volume of files in shared memory is a good idea as it may cause problems in your system. Anyway, you may want to also try Turck MMCache that has functions for content caching: http://turck-mmcache.sourceforge.net/ -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/