Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CDNs on Rails
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jonathan Julian
January 13, 2015
Programming
1.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CDNs on Rails
How OrderUp has successfully integrated the Fastly CDN with our Heroku Rails application
Jonathan Julian
January 13, 2015
Other Decks in Programming
See All in Programming
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
AmebaブログはKMPから卒業します
kmars0605
0
190
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
ChromeでローカルLLM
ryu1013
0
140
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
A Tale of Four Properties
chriscoyier
163
24k
Marketing to machines
jonoalderson
1
5.9k
Un-Boring Meetings
codingconduct
0
460
Become a Pro
speakerdeck
PRO
31
6.3k
エンジニアに許された特別な時間の終わり
watany
109
250k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Amusing Abliteration
ianozsvald
1
350
Transcript
CDNs on Rails: FASTLY Jonathan Julian
http://seo-hacker.com/ What is a CDN?
SOME CDNs
HOW DOES IT WORK?
None
DNS: example.com -> fastly.net FASTLY: backend is server.example.com Cache-Control: public,
no-cache Surrogate-Control: max-age: 86400
fastly-rails gem set_cache_control_headers
Invalidating the Cache AKA PURGE
Surrogate-Key: restaurant/123 @restaurant.purge
30%
• fastly.com • github.com/fastly/fastly-rails • robots.thoughtbot.com/a-guide-to- caching-your-rails-application-with-fastly Thanks! @jonathanjulian