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
100
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
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
1
110
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.1k
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3.5k
SIMD Parallel Programming with the Vector API
josepaumard
0
180
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
260
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
使ってみよう Azure AI Document Intelligence
kosmosebi
2
320
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
210
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
800
Rethinking UI building strategies @ SFI 2024
letelete
0
270
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
340
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
42
12k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
Done Done
chrislema
178
15k
YesSQL, Process and Tooling at Scale
rocio
164
13k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
Bash Introduction
62gerente
604
210k
Automating Front-end Workflow
addyosmani
1356
200k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Embracing the Ebb and Flow
colly
80
4.1k
Clear Off the Table
cherdarchuk
84
310k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
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