+ All Categories
Home > Internet > High Performance WordPress

High Performance WordPress

Date post: 01-Jul-2015
Category:
Upload: jacob-spurlock
View: 479 times
Download: 0 times
Share this document with a friend
Description:
My talk from WordCamp SLC. Talk was about WP_Query, Node.js, and love... Pitfalls, and other performance bottlenecks.
39
Saturday, September 13, 14
Transcript
Page 1: High Performance WordPress

Saturday, September 13, 14

Page 2: High Performance WordPress

Saturday, September 13, 14

Page 4: High Performance WordPress

Saturday, September 13, 14

Page 5: High Performance WordPress

Saturday, September 13, 14

Page 6: High Performance WordPress

Saturday, September 13, 14

Page 7: High Performance WordPress

Saturday, September 13, 14

Page 8: High Performance WordPress

Saturday, September 13, 14

Page 9: High Performance WordPress

Saturday, September 13, 14

Page 10: High Performance WordPress

Business

Technology Design

Saturday, September 13, 14

Page 11: High Performance WordPress

Saturday, September 13, 14

Page 12: High Performance WordPress

Saturday, September 13, 14

Page 13: High Performance WordPress

WP_Query()*

Saturday, September 13, 14

Page 14: High Performance WordPress

WP_Query()*

*and the future...

Saturday, September 13, 14

Page 15: High Performance WordPress

Performance...

Saturday, September 13, 14

Page 16: High Performance WordPress

•Why server-side performance issues happen?•Diagnosing and Solving•Common Performance Issues•Deep Dive into Cache Stampedes

Saturday, September 13, 14

Page 17: High Performance WordPress

Data...URL where the issue happened? front-end? backend? both? specific actions? Any errors seen or reported? Screenshot or screencast available? Happening to everyone or just one person or a small group? Happening everywhere (desktop, mobile with 3G, mobile with wifi)? Reproducible consistently? or Sporadic? etc...

Saturday, September 13, 14

Page 18: High Performance WordPress

Three RRRules to Make Things Faster...

★ Reduce: Do fewer things★ Reuse: Cache the things you already did★ Recycle: Use existing code to do the things

Saturday, September 13, 14

Page 19: High Performance WordPress

Free Bonus Rule

•Remove: Get rid of it completely...

Saturday, September 13, 14

Page 20: High Performance WordPress

WP_Query()?

Saturday, September 13, 14

Page 21: High Performance WordPress

Let’s talk about caching...

Saturday, September 13, 14

Page 22: High Performance WordPress

Saturday, September 13, 14

Page 23: High Performance WordPress

Saturday, September 13, 14

Page 24: High Performance WordPress

Page Caching...

Saturday, September 13, 14

Page 25: High Performance WordPress

Page Caching...

• W3 Total Cache

• WP Super Cache

• Batcache

• Varnish

• Akamai

Saturday, September 13, 14

Page 26: High Performance WordPress

memcached or APC

Saturday, September 13, 14

Page 27: High Performance WordPress

Saturday, September 13, 14

Page 28: High Performance WordPress

Node.js?

Saturday, September 13, 14

Page 29: High Performance WordPress

WP JSON API?

Saturday, September 13, 14

Page 30: High Performance WordPress

Cache Params

Saturday, September 13, 14

Page 31: High Performance WordPress

wp_cache_*

Saturday, September 13, 14

Page 32: High Performance WordPress

What if just returned IDs?fields => ids

Saturday, September 13, 14

Page 33: High Performance WordPress

wp_cache_*

Saturday, September 13, 14

Page 34: High Performance WordPress

$facebook_graph_url = 'https://graph.facebook.com/WordPress'$response = wp_remote_get( $facebook_graph_url );$data = json_decode( $response );echo $data->likes;

Remote Data....

Saturday, September 13, 14

Page 35: High Performance WordPress

$.getJSON('https://graph.facebook.com/WordPress', function( response ) { console.log( response.likes ); });

Remote Data....

Saturday, September 13, 14

Page 36: High Performance WordPress

Saturday, September 13, 14

Page 37: High Performance WordPress

Questions?

Saturday, September 13, 14

Page 38: High Performance WordPress

Wired is hiring...email me: [email protected]

wired.com

20,000 - 40,000 concurrent vistors...

Saturday, September 13, 14


Recommended