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
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
990
CSC305 Lecture 12
javiergs
PRO
0
240
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
3
860
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
140
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
260
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
4
940
Cursorハンズオン実践!
eltociear
2
1.2k
三者三様 宣言的UI
kkagurazaka
0
280
Leading Effective Engineering Teams in the AI Era
addyosmani
7
670
モテるデスク環境
mozumasu
3
1.3k
品質ワークショップをやってみた
nealle
0
650
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
940
BBQ
matthewcrist
89
9.9k
Bash Introduction
62gerente
615
210k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Making Projects Easy
brettharned
120
6.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
890
Thoughts on Productivity
jonyablonski
71
4.9k
Context Engineering - Making Every Token Count
addyosmani
8
310
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
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