Re: APC caching keys.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jared Williams wrote:
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?

generally the md5 sum of $qry is shorter than $qry


Jared


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux