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
calamel-okara-beta
Search
Teppei Yano
February 18, 2015
1
12k
calamel-okara-beta
Teppei Yano
February 18, 2015
Tweet
Share
More Decks by Teppei Yano
See All by Teppei Yano
PEPABO EC tech conference ngx_mruby 2020
yano3
1
1.1k
okara updates
yano3
0
120
create puppet module
yano3
0
69
let me introduce you
yano3
0
130
next stage infrastructure
yano3
1
13k
Dynamic image transformation server Okara BETA
yano3
1
5.9k
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
180
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
75
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
39
From π to Pie charts
rasagy
0
110
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Done Done
chrislema
186
16k
Designing Powerful Visuals for Engaging Learning
tmiket
0
200
Testing 201, or: Great Expectations
jmmastey
46
7.9k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
410
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
280
Transcript
ͱ͋ΔECαΠτʹಈతը૾ มΛಋೖͨ͠ 2015-02-18 ը૾ม Night LT ! Teppei Yano @yano3
ͷ͞Μ
Χϥϝϧ • http://calamel.jp • γϣοϐϯάϞʔϧαΠτ • ͷιʔε༷ʑ • ΧϥʔϛʔγϣοϓʢΧʔτ ASPʣ
• minne • ଞ...
• ಈతͳը૾ม͍ͯ͠ͳ͍ • ఏڙݩʹΑͬͯը૾ͷ༷͕͞·͟· • ετϨʔδ • ը૾ܗࣜ •
αΠζ
ը૾ URL ྫ http://img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?20141202175024
ը૾ URL ྫ https://d1jw6zxxpn0xgs.cloudfront.net/ productimages/4039048/large/ 2bdb85341016e350fe9a9d0001a8752caa269c65.j pg
ͦ͜Ͱ࡞Γ·ͨ͠
͓͔ΒʢԾʣ • ಈతը૾มαʔό • ngx_small_light • ngx_mruby • CDN (CloudFront)
• ໊લͷ༝དྷʢ͈́
URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120
URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120
URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120
URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120
URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120
ngx_small_light ʢ͈́
ngx_mruby ʢ͈́
ngx_mruby ϋογϡͷ֬ೝ
ngx_mruby ϋογϡͷ֬ೝ mruby_set $allowed '/path/to/check_hash.rb'; if ($allowed != true) {
return 403; }
ngx_mruby URL ม
ngx_mruby URL ม mruby_set $smalllight_path /path/to/okara_to_smalllight.rb; proxy_pass ʢ͈́
ࠓޙ • WebP
·ͱΊ ngx_small_light ͱ ngx_mruby ͰʢΘ Γͱʣ؆୯ʹಈతը૾มαʔόΛ࡞ Δ͜ͱ͕Ͱ͖ͯศརʂʂ