Contenu connexe Similaire à Scaling WordPress Similaire à Scaling WordPress (20) Plus de Mark Jaquith (15) Scaling WordPress1. Mark Jaquith
Making
WordPress
“JAKE-with”
@markjaquith Go “Vroom”
mark@jaquith.me
markjaquith.com
12. HTML
Output
Cache
Batcache || W3 Total Cache || WP Super Cache
14. Fragment
Caching
if ( $html = get_transient( 'expensive-html-chunk' ) ) {
echo $html;
} else {
$html = dynamically_generate_foo();
set_transient( 'expensive-html-chunk', $html, 3600 );
echo $html;
}
17. CDN
— with —
Origin Pull
25. $ ab -c 350 -n 5000 http://havebabyneedstuff.com/
Result?
Requests per second: 8114.53 [#/sec] (mean)
95% of requests served within 40ms
99% of requests served within 82ms
32. Mark Jaquith
“JAKE-with” Thanks!
@markjaquith
mark@jaquith.me
markjaquith.com