Re: [SMARTY] Poss. performance issue with DB-based language scheme?
| From: | Luc Saint-Elie | Date: | Wed, 02 Oct 2002 15:08:36 +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-6088@lists.php.net to get a copy of this message | ||
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).