RE: [PHP] APC caching keys.

From: Date: Fri, 18 Nov 2005 22:10:58 +0000
Subject: RE: [PHP] APC caching keys.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226081@lists.php.net to get a copy of this message
> I have started making use of the APC extension to cache > opcodes, etc now I'm also trying to cache the output of some > sql queries and I want to use a hash of the query as key to > store/fetch the value e.g: > > apc_fetch(md5($qry)) > > does anyone know of a good reason (including performance > reasons) for not using a hash in such a way? Wouldn't apc_fetch($qry) do much the same thing? Jared

« previous php.general (#226081) next »