You are here: Re: [PHP] APC caching keys. « PHP « IT news, forums, messages
Re: [PHP] APC caching keys.

Posted by Jochem Maas on 11/19/05 00:28

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
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация