APC caching keys.

From: Date: Wed, 16 Nov 2005 15:32:29 +0000
Subject: APC caching keys.
Groups: php.general 
Request: Send a blank email to php-general+get-225918@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? tia & rgds, Jochem PS - apc is very nice! I just haven't been able to get it to work on 5.1 (last tried on 5.1RC5dev) - has anybody else had luck getting apc to work with 5.1? did you have to do anything special?

« previous php.general (#225918) next »