Re: including pear classes and caching

From: Date: Mon, 27 Jan 2003 16:12:23 +0000
Subject: Re: including pear classes and caching
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3478@lists.php.net to get a copy of this message
On Fri, 24 Jan 2003, electroteque wrote: > hi i am using pear classes for various things inluding the pear db which i > am looking into using the mdb package , anyway i was wondering if there was > a way to cache the pages so the pear packages dont have to be reincluded and > recompiled which may slow down a site ? Yes. There are basically two kind of caches. Output cache and opcode cache. There are two modules in PEAR for output cache - Cache and Cache_Lite: http://pear.php.net/package-info.php?pacid=40 http://pear.php.net/package-info.php?pacid=99 There are several bytecode caches - PHPA, APC, After Burner, Zend and Turck. http://www.php-accelerator.co.uk/ http://apc.communityconnect.com/ http://afterburner.bware.it/ http://www.zend.com/store/products/zend-accelerator.php http://www.turcksoft.com/en/e_mmc.htm Best results can be achieved by using both output and opcode cache together. I am currently benchmarking and writing a short article about results using Cache_Lite and PHPA in differents modes together. Will send you an url offlist, since its still work in progress and I only have the numbers ready (will share it with the rest later). -- Mika Tuupola http://www.appelsiini.net/~tuupola/

« previous php.pear.general (#3478) next »