Caching problems - another approach
| From: | Gabriel Birke | Date: | Tue, 18 Mar 2003 15:59:22 +0000 |
| Subject: | Caching problems - another approach | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8717@lists.php.net to get a copy of this message | ||
Hello!
After some testing with smarty I definately know that there is something wrong with my script:
I have set up 3 cache groups: page_id|db_id|session_exists
in my test files, clearing the cache below page_id with clear_cache(null,"$page_id") works perfectly,
in my current project however, I have to clear the cache below page_id|db_id to get the desired result. this is bad because I have to clear the cache for every item from the database!
Has anyone who has worked with sessions an idea what I might do wrong? Have you encountered some common mistakes?
I have already checked on spaces/breaks in the parameters for the cache id.
With best regards
Gabriel Birke
--
KONTOR4_Neue Medien
Nelkenstrasse 3
31515 Wunstorf
Germany
+49 5031-955234
+49 5031-955231
mailto:birke@kontor4.de
http://www.kontor4.de