RE: Deleting a specific cache id from a different smarty instance

From: Date: Sat, 25 Jan 2003 20:53:44 +0000
Subject: RE: Deleting a specific cache id from a different smarty instance
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7336@lists.php.net to get a copy of this message
Are curl and wget Smarty-specific, or straight PHP? Never heard of those. You bring up an interesting situation... How could you tell if someone was in that millisecond? MM> definitely :) use a smarty cli- or cgi-binary MM> for that or fetch a url of a php script that MM> flushes the cache. you can use curl or wget for MM> that. MM> MM> the simplest way would be of course to 'rm -r' MM> the cache directory, MM> but then no file-locking against other MM> php-script using the cache is MM> done and you may accidently delete MM> a page in the (milli-)second another MM> process wants to display it. GH>> Now I just realized that in my publication GH>> system, I'm going to need to trash GH>> all the summary-display section GH>> cache at 12:01 am on each day. GH>> Should I use CRON for that?

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