Re: [SMARTY] index.php?id=1 and Caching
| From: | Bertrand DUNOGIER | Date: | Wed, 04 Dec 2002 14:05:27 +0000 |
| Subject: | Re: [SMARTY] index.php?id=1 and Caching | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6631@lists.php.net to get a copy of this message | ||
k> all of my pages are created index.php?id=1, id=2 and so on. How can i cache
k> them, so i dont overload mysql.
Use the id parameter as the cache ID, and test if a cached version exists with
this ID before you perform the MySQL Operations.
Bertrand