RE: [SMARTY] Poss. performance issue with DB-based language scheme?

From: Date: Wed, 02 Oct 2002 15:44:21 +0000
Subject: RE: [SMARTY] Poss. performance issue with DB-based language scheme?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6089@lists.php.net to get a copy of this message
Good point, it's not really separate. The fact that there's no caching encompasses the language handling issue. I suppose I should clarify (to save my reputation as a coder ;) that this package is X-Cart, which sells for $145 in this version. If I had written it, I probably would have done things a bit differently... >-----Original Message----- >From: Luc Saint-Elie [mailto:luc@regardnumerique.com] >Sent: Wednesday, October 02, 2002 10:09 AM >To: smarty-general@lists.php.net >Subject: Re: [SMARTY] Poss. performance issue with DB-based >language scheme? > > >Gary, > >Why do you think caching is a separate issue ? >Using 450 entries which never change each time the site is >visited seems to >be the perfect candidate for a "how could I cache this stuff" >brainstorming >session.... > >Luc > >At 10:03 02/10/2002 -0500, Gary Loescher wrote: > >>Hi all, >> >>Wanted to get your opinion on this. I'm trying out a Smarty-based >>shopping cart which stores all text in a MySQL DB to allow >for different >>languages. However, the entire current language set (about >450 entries, >>all MySQL "TEXT" types) is retrieved and stored in an array in Smarty >>prior to each invocation. >> >>It works fine on my development box, but what about scaling >up to a site >>with moderate to heavy traffic? The cart loads approx. 20 >templates per >>page and doesn't use caching at all (separate issue, I guess). > > >-- >Smarty General Mailing List (http://smarty.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.smarty.general (#6089) next »