[wp-hackers] 5 minutes to a faster blog
computerguru at neosmart.net
Fri Dec 1 09:53:00 GMT 2006
What about eAccelerator? That's what I'm currently using and what everyone
is recommending out there.. Is it the same thing?
I can't remember, but once when googling I came across a link that said WP
was "purposely making it hard to use eAccelerator" [sic] and preferred APC.
Is it recommended to use APC with WP over eAccelerator?
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-
> bounces at lists.automattic.com] On Behalf Of Matt Mullenweg
> Sent: Friday, December 01, 2006 11:52 AM
> To: wp-hackers at lists.automattic.com
> Subject: [wp-hackers] 5 minutes to a faster blog
> With the following I regularly get sub 100 millisecond front-page
> generation time on photomatt.net, and lower on WP Pages. No caching
> plugins, no alternative front-ends that make me rewrite my themes and
> plugins, just plain WordPress.
> 1. Use APC:
> APC can give you a 3x speedup in load times, instantly.
> Tip: If you're on Litespeed, use this to save memory:
> (APC is bundled with Litespeed, btw.)
> 2. Enable the query cache:
> nano /etc/my.cnf
> query_cache_size = 64M
> /etc/init.d/mysql restart
> This usually cuts in half most SQL times on busy sites, if not more.
> 3. Swich your tables to InnoDB
> Use phpMyAdmin > table > Operations to switch.
> And add the following in your MySQL config file, adjust sizes as
> necessary for your memory:
> # Make buffer_pool larger than the size of your DB, if possible
> Restart MySQL.
> 4. Enable WP's built-in caching
> define( 'ENABLE_CACHE', true ); // in wp-config.php
> Unless you have slow HDs, like a NFS-based host like Dreamhost.
> == More than 5 minutes, bonus ==
> 5. Use WP 2.1
> It's way faster.
> Matt Mullenweg
> http://photomatt.net | http://wordpress.org
> http://automattic.com | http://akismet.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers