Code Comments
Programming Forum and web based access to our favorite programming groups.Well, Ive upgraded to the latest version and checked values such as $force_compile and everything seems to be working now. Thanks to everyone for the pointers and information To answer this question that was posed... ' Why do you use a template framework to cache of large DB queries? Why not use for example http://pear.php.net/package/Cache' I needed a template engine for the site and smarty seemed right because of its flexability, power and rich features, the caching came as a bit of a bonus at first but doe to the nature of most of the pages on the site ive created (site visitor analysis reports) the caching will become a god send as it saves the db servers from taking a hit every time a client runs a report for a historic period, at present some reports can take upto 5 minutes to generate (MySQL) the caching is great as many users on an account will want to view these reports at separate times, caching them saves my db servers and also presents the reports in less than 1 second, as opposed to 5 minutes! Cheers Ash -----Original Message----- From: Monte Ohrt [mailto:monte@newdigitalgroup.com] Sent: 18 April 2005 20:26 To: Yuri Weseman Cc: ash@mtracking.com; smarty-general@lists.php.net Subject: Re: [SMARTY] caching files and sessions Smarty uses built-in caching features handle things such as leaving some components uncached and handling caches by group. You can also use third party cache solutions as an all-inclusive page cache (which would avoid loading smarty/application libs altogether) if you wish. Yuri Weseman wrote: >Just wondering... Why do you use a template framework to cache of large DB >queries? Why not use for example http://pear.php.net/package/Cache > >Greetings, > >Yuri > > > > >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.