Re: [SMARTY] Heavy Traffic

From: Date: Thu, 06 Jun 2002 09:45:04 +0000
Subject: Re: [SMARTY] Heavy Traffic
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4649@lists.php.net to get a copy of this message
That sounds nice, but I have a couple of other things which mak it hard to cache the page. For example we have different voting systems around the site, If someone votes for an artwork the votes have to be correct. If someone posts a comment to an item the comment has to be there right away. If someone posts an artwork the artwork has to appear on many different pages. I cannot delete the cache files for that page because the site is build in many different modules which can be included everywhere. So i don't know what page-cache's have to be deleted. In other words, The site is *very* dynamic. At every event that occurs a lot of pages in the site have to be updated. The pages not only differ from user to user, but also from item to item, and from second to second. that makes the page too hard to cache in my opinion. ________________________________________ Martijn van Zal GFXartist Network Technical Manager mail: martijn@gfxartist.com icq: 8213621 ----- Original Message ----- From: "Ivo Jansch" <ivo@ibuildings.nl> To: "LIMBOURG Arnaud" <arnaud.limbourg@cegetel.fr> Cc: <smarty-general@lists.php.net> Sent: Thursday, June 06, 2002 11:28 AM Subject: Re: [SMARTY] Heavy Traffic > Hi, > > LIMBOURG Arnaud wrote: > > > The simplest is to use the session id as the cache id. > > I would use the user_id instead of the session_id. If the user leaves > the site and visits again after a few hours, he gets a new session_id, > so he can't browse your previously cached pages. > > Greetings, > Ivo > > -- > Ivo Jansch <ivo@ibuildings.nl> > ibuildings.nl BV - information technology > http://www.ibuildings.nl > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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