2. Introduce Myself
I’m a member of WordPress Plugins/
JSeries, and making WordPress plugins.
Head Cleaner - Cleaning tags from your
WordPress header and footer.
OAuth Provider - A plugin to allow WordPress
to use an OAuth authenticator.
http://profiles.wordpress.org/wokamoto
3.
4. I’ve just released AMI which is
performance tuned for
WordPress .
http://megumi-cloud.com/
5. Recntly I’ve written a book.
WordPress speeding up & smart
operation must-have guide
6. Outline
About improving performance of a
site using WordPress
Identifying bottlenecks
Improvement with plugins
Improvement on the server side
14. After installed the plugins, add the
lines below to wp-config.php
define('SAVEQUERIES', true);
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', false);
23. Using only jQuery on its’
Google AJAX Libraries
<?php
wp_deregister_script('jquery');
wp_enqueue_script(
'jquery',
'http:/ /ajax.googleapis.com/ajax/libs/
jquery/1.7.2/jquery.min.js',
array(),
'1.7.2');
?>
30. When AllowOverride is enabled to /, then
/wp-includes/js/jquery/jquery.js is accessed, Apache
checkes every files below.
/.htaccess
/wp-includes/.htaccess
/wp-includes/js/.htaccess
/wp-includes/js/jquery/.htaccess
44. Common case of speed up WordPress
<?php bloginfo('stylesheet_url') ?>
Writing template tags in theme files causes accessing
MySQL server and makes it slow, so let’s write CSS’s URL
in theme files.
http://example.jp/wp-content/themes/example/style.css
残念ながら、この手法にはあまり効果がありません。