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

Posted by Curt Zirzow on 10/02/66 11:32

On Wed, Nov 16, 2005 at 04:32:29PM +0100, Jochem Maas 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))

If you are using mysql i would use the SQL_CACHE flag, it will
eliminate the need for you to manage the cache.

>
> 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?

The last version of php5.1 i have installed APC on is a cvs
snapshot of around Feb 4 2005 11:49:05. Nothing special was needed.


Curt.
--

 

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

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