Re[2]: [SMARTY] Caching newbie questions
| From: | Jacques Jocelyn | Date: | Fri, 04 Apr 2003 14:58:20 +0000 |
| Subject: | Re[2]: [SMARTY] Caching newbie questions | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9091@lists.php.net to get a copy of this message | ||
Hello Alex,
Friday, April 4, 2003, 6:32:19 AM, you wrote:
A> why not just use the insert function and cache ids. besides, compiling 3
A> templates is time consuming
In my case, that will be worse, since I am using a dynamic menus(the
menus can be different from one use to another) with SID(PHP SESSION ID)
value within internal links therefore if I use the global cache,
I will have a cache for each visitor which will be a nonsense.
Besides, I had to create an class extension in order to replace old $SID
value from the cache and display the current $SID.
The performance decreased immensely !
Without replacing the SID, I could generate the page in .30s
By Replacing the SID, Now it is about .70s
so if I have several templates to display, that might be a big issue.
Best regards,
Jacques JOCELYN