« Gigs 2008 (More) | Main | Movable Type Open Source 4.2 RC2 »

Friday 13 June 2008

APC

I'd never come across a "PHP accelerator" before, but a friend from #bit-tech (andatche) told me about APC - the Alternative PHP Cache.

Wikipedia has this to say about PHP accelerators:
A PHP accelerator is an extension designed to boost the performance of software applications written using the PHP programming language. Most PHP accelerators work by caching the compiled bytecode of PHP scripts to avoid the overhead of parsing and compiling source code on each request (some or all of which may never even be executed).

With andatche's help, I managed to get APC installed on my Slice and it instantly sped up the PHP execution. As my templates use PHP and are mostly static, they are cached in memory instead of being regenerated each time, and with each successive request the pages are built from the cache instead of from the filesystem.

Anything that speeds up my site cannot be a bad thing!

Posted in Computers at 16:07 | Edit Entry

Post a comment

(If you haven't left a comment here before, you may need to be approved before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

(required)

(required, never made public)





HTML is enabled, you may use only the tags shown below.

quack - © 2002-2008
Recent Entries
Search
Archives

Plurk
Last.fm
Links
Creative Commons License - BY NC SA   Gravatar Friendly Site
Six Apart Professional Network   No WWW
Get Firefox   We're Not Afraid! Join the Electronic Frontier Foundation today: Defending Freedom in the Digital World.   NO2ID
Support the Open Rights Group