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
AIの弱点、やっぱりプログラミングは人間が(も)勉強しよう / YAPC AI and Programming
kishida
10
5.2k
予防に勝る防御なし(2025年版) - 堅牢なコードを導く様々な設計のヒント / Growing Reliable Code PHP Conference Fukuoka 2025
twada
PRO
39
13k
「10分以内に機能を消せる状態」 の実現のためにやっていること
togishima
1
530
Evolving NEWT’s TypeScript Backend for the AI-Driven Era
xpromx
0
150
Atomics APIを知る / Understanding Atomics API
ssssota
1
170
物流DXを支える“意味”の設計:セマンティックレイヤーとAIで挑むデータ基盤/登壇資料(飯塚 大地)
hacobu
PRO
0
110
CSC509 Lecture 11
javiergs
PRO
0
310
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
1.9k
AIエージェントでのJava開発がはかどるMCPをAIを使って開発してみた / java mcp for jjug
kishida
4
750
チーム開発の “地ならし"
konifar
8
5.7k
GeistFabrik and AI-augmented software development
adewale
PRO
0
130
知られているようで知られていない JavaScriptの仕様 4選
syumai
0
630
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Building an army of robots
kneath
306
46k
Side Projects
sachag
455
43k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How GitHub (no longer) Works
holman
315
140k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
680
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
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