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
CDN for your rails assets
Search
Edgar Suarez
June 09, 2013
Programming
0
110
CDN for your rails assets
lightning talk @ HackerGarage June 13rd
Edgar Suarez
June 09, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
Serena MCPのすすめ
wadakatu
4
900
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
150
2分台で1500examples完走!爆速CIを支える環境構築術 - Kaigi on Rails 2025
falcon8823
3
3.3k
CSC509 Lecture 03
javiergs
PRO
0
330
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
600
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
180
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
4.5k
開発生産性を上げるための生成AI活用術
starfish719
1
180
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
140
Чего вы не знали о строках в Python – Василий Рябов, PythoNN
sobolevn
0
160
Local Peer-to-Peer APIはどのように使われていくのか?
hal_spidernight
2
450
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
110
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
How GitHub (no longer) Works
holman
315
140k
Gamification - CAS2011
davidbonilla
81
5.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Unsuck your backbone
ammeep
671
58k
We Have a Design System, Now What?
morganepeng
53
7.8k
Balancing Empowerment & Direction
lara
4
680
Transcript
CDN FOR YOUR RAILS ASSETS @edgarjs Sunday, June 9, 13
STATIC FILES .js .css .png .jpg .gif .html .txt, etc...
Sunday, June 9, 13
WWW WORLD wide web Sunday, June 9, 13
LATENCY wait... time Sunday, June 9, 13
Sunday, June 9, 13
STAY CLOSE to your friends, and closer to your users
Sunday, June 9, 13
Sunday, June 9, 13
3RD PARTY OR DIY Amazon CloudFront, CloudFlare, Rackspace Sunday, June
9, 13
Sunday, June 9, 13
HELPERS all the time Sunday, June 9, 13
link_to image_tag asset_path Sunday, June 9, 13
DEVELOPMENT <%= image_tag ‘hello.png’ %> <img src=”/assets/hello.png”> Sunday, June 9,
13
PRODUCTION <%= image_tag ‘hello.png’ %> <img src=”http://assets.example.com/assets/hello.png”> Sunday, June 9,
13
FOR THE ROAD... Sunday, June 9, 13
PERSISTENT CONNECTIONS to the server Sunday, June 9, 13
HTTP/1.1 RFC [8.1.4] [...]a single-user client should not maintain more
than 2 connections with any server or proxy[...] Sunday, June 9, 13
Browser HTTP/1.1 IE 6,7 2 IE 8 6 Firefox 2
2 Firefox 3 6 Safari 3,4 4 Chrome 1,2 6 Chrome 3 4 Chrome 4+ 6 iPhone 2 4 iPhone 3 6 iPhone 4 4 Opera 9.63,10.00a 4 Opera 10.51+ 8 Sunday, June 9, 13
assets0.example.com assets1.example.com assets2.example.com assets3.example.com Sunday, June 9, 13