Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Best possible WP Stack (TM)
Search
David Thomas Grübl
October 24, 2014
Programming
1
300
Best possible WP Stack (TM)
My talk at Barcamp Salzburg about a high performance Wordpress stack.
David Thomas Grübl
October 24, 2014
Tweet
Share
More Decks by David Thomas Grübl
See All by David Thomas Grübl
Boiling down the boilerplate
davidgruebl
0
130
QUALITALKS #3 Rapid Idea Devalidation
davidgruebl
0
95
Rapid Idea Devalidation
davidgruebl
0
220
Other Decks in Programming
See All in Programming
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
200
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
750
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
520
ゆるい個人開発のススメ
kuroppe1819
10
990
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
Ruby GitHub Packages
bkuhlmann
0
630
Goのmultiple errorsについて (2024年4月版)
syumai
3
660
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
410
見た目から始める生産性向上
ikumatadokoro
7
830
Snowflakeで眠ったデータを起こそう!
estie
0
120
Featured
See All Featured
Visualization
eitanlees
136
14k
Side Projects
sachag
451
41k
Adopting Sorbet at Scale
ufuk
68
8.6k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
How GitHub (no longer) Works
holman
304
140k
Typedesign – Prime Four
hannesfritz
36
2.1k
How STYLIGHT went responsive
nonsquared
92
4.8k
Design by the Numbers
sachag
274
18k
Scaling GitHub
holman
457
140k
The Brand Is Dead. Long Live the Brand.
mthomps
49
28k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Transcript
Best%possible%WP%Stack David&Thomas&Grübl David&Thomas&Grübl&1&dtg.sexy/ 1
h"ps:/ /educa,on.github.com/pack David&Thomas&Grübl&1&dtg.sexy/ 2
Server%stack%1/3 • Digitalocean,Droplet • Ubuntu,14.04 • self8compiled,NGINX,,including • google,pagespeed,module •
ssl,module • spdy,module David&Thomas&Grübl&1&dtg.sexy/ 3
David&Thomas&Grübl&1&dtg.sexy/ 4
Server%stack%2/3 • HipHop&Virtual&Machine&(HHVM) • open4source,&by&Facebook • 2&4&20x&faster&than&"normal"&PHP • compiles&PHP&Just&in&Time&(JIT)&to&intermediate&bitecode David&Thomas&Grübl&1&dtg.sexy/
5
Server%stack%3/3 • Maria&DB • dropin&replacement&for&MSQL • speed&op7mized David&Thomas&Grübl&1&dtg.sexy/ 6
David&Thomas&Grübl&1&dtg.sexy/ 7
Content&Delivery-Network • Amazon(Webservices(1(Cloudfront • Images,(HTML,(CSS(and(JS(are(served(by(AWS • increases(speed(massively(by(short(physical(distances • replicated(to(over(55(servers(all(over(the(world David&Thomas&Grübl&1&dtg.sexy/
8
David&Thomas&Grübl&1&dtg.sexy/ 9
Wordpress(4.0(stack • Genesis'Framework • extends'Wordpress'further'as'CMS • adds'addi:onal'op:ons'for'SEO'improvements • improves'WP'security David&Thomas&Grübl&1&dtg.sexy/
10
h"ps:/ /github.com/cdukes/bones4for4genesis4240 David&Thomas&Grübl&1&dtg.sexy/ 11
David&Thomas&Grübl&1&dtg.sexy/ 12
• Automa(c*JS*concatena(on • Automa(c*JS*minifica(on*(Uglify) • Automa(c*image*op(miza(on*(JPEG,*PNG,*GIF) • SASS*&*Compass*support • Autoprefixer*and*CSS*minifica(on*support
• Watches*for*file*changes,*and*no(fies*on*error David&Thomas&Grübl&1&dtg.sexy/ 13
• display)database)query)info)in)your)footer • preloaded)javascript)libraries: • FitVids.js • iOS<Orienta=onchange<Fix • SVGeezy
Sass: <)unstyled,)nested)selec=ons <)skeleton)of)helpful)aEribute)resets)and)sugges=ons David&Thomas&Grübl&1&dtg.sexy/ 14
David&Thomas&Grübl&1&dtg.sexy/ 15
W3C$Total$Cache • Page&Cache • Minify&(size&and&number)&of&HTML,&CSS,&JS • Database&Cache&(reduce&queries) • Browser&Cache •
CDN&(Cloudfront) David&Thomas&Grübl&1&dtg.sexy/ 16
David&Thomas&Grübl&1&dtg.sexy/ 17
con$nuous'integra$on • push&to&github • github&no-fies&travis • travis&pulls&repo • travis&tests&the&code •
deploy&with&a8er_success&hook David&Thomas&Grübl&1&dtg.sexy/ 18
David&Thomas&Grübl&1&dtg.sexy/ 19