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
Varnish: where developers & sysadmins meet - Va...
Search
Thijs Feryn
November 05, 2015
Technology
2.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Varnish: where developers & sysadmins meet - Varnish Summit Amsterdam 2015
Varnish: where developers & sysadmins meet - Varnish Summit Amsterdam 2015
Thijs Feryn
November 05, 2015
More Decks by Thijs Feryn
See All by Thijs Feryn
Caching the uncacheable with Varnish - PHP London 2020
thijsferyn
0
570
Accelerating OTT video platforms with Varnish - London Video Tech meetup 2020
thijsferyn
0
490
't Oncachebare cachen
thijsferyn
0
490
Caching the uncacheable with Varnish - PHP UG FFM 19
thijsferyn
1
960
Developing cacheable PHP applications - PHP Barcelona 2019
thijsferyn
0
760
Caching the uncacheable with Varnish - FullstackEU 2019
thijsferyn
0
600
Varnish beyond basic web acceleration - Symfony Live Berlin 2019
thijsferyn
0
520
Developing cacheable PHP applications
thijsferyn
0
560
Varnish beyond basic web acceleration - DAHO.AM 2019
thijsferyn
0
560
Other Decks in Technology
See All in Technology
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
130
Omarchy Quattro の日本語設定周り
simosako
2
140
AI時代のAPI品質を支えるガードレール / API Guardrails for API quality in the AI era
yokawasa
1
210
Adaptive Warehouse を今すぐ導入すべき理由と迷ったときの判断基準
__allllllllez__
0
170
多層防御と最⼩権限で実現する、安全なAIエージェント設計パターン
lycorptech_jp
PRO
1
260
synctest時代のhttptest Go 1.27で変わるHTTPサーバテストの裏側 / go conference2026 synctest and httptest
budougumi0617
1
2.6k
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
460
Gitは怖い?共有ワークスペースから始めるSnowflakeチーム開発
coco_se
0
120
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
320
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
260
「図書館」という名前のままでいいのか -Code4Lib JAPANカンファレンス2026 アンカンファレンス報告- / Code4Lib JAPAN Conference 2026: Unconference Report
ykiyota
0
160
DEFCON34-Write-up_HYCu-MYCu
daikiokazaki
0
150
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
3
500
Game over? The fight for quality and originality in the time of robots
wayneb77
1
270
Amusing Abliteration
ianozsvald
1
290
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
Darren the Foodie - Storyboard
khoart
PRO
3
3.9k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
840
The Curious Case for Waylosing
cassininazir
1
500
Side Projects
sachag
456
43k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Transcript
Where developers & sysadmins meet By Thijs Feryn Varnish
Hi, I’m Thijs
I’m @ThijsFeryn on Twitter
I’m an Evangelist At
I’m an at Evangelist
I’m a at board member
Early days
Down
Website performance?
More servers
Identify slowest part
Optimize database
Optimize runtime
After a while you hit the limits
Caching
Memcached or Redis
None
Optimize database Optimize runtime A void A void
Varnish
Hit rate?
Cookies?
Cache Control?
Developers Sysadmins
None
✓State ✓Performance ✓Scalability ✓Cache invalidation ✓Architecture People often forget
Who writes the VCL?
Varnish still considered a sysadmin responsibility
None
Coaching developers & sysadmins
✓No state unless required ✓Cache-control discipline ✓Chop pages into content
blocks ✓AJAX or ESI ✓Reasonable cache variations ✓Cache invalidation strategy Advice for developers
✓Normalize input ✓Cookies blacklist/whitelist ✓URL blacklist/whitelist VCL
When you respect HTTP
Developers are bridging the gap too
Collaboration & empathy AKA DevOps
Architecture
Service Oriented Architecture
REST Cacheable in Varnish if done right
Monolith vs Microservices
Distributed systems
Big Data & NoSQL
Async, concurrent & non-blocking processing
Common goal
Better end-user experience
Frameworks & CMS’es
None
Bullet proof?
Well-designed software should be more scalable
Well-designed software should be faster
Well-designed software doesn’t need much caching?
Always cache … when you can
Well-designed software doesn’t require much VCL
Well-designed software knows how to purge the cache
Challenges
Caching state of mind
Purging
There are only two hard things in Computer Science: cache
invalidation and naming things. —- Phil Karlton
SSL termination + SSL awareness in application
Static assets To cache or not to cache?
Invalidate or not?
Clustering & HA
Varnish flow
None
None