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
Http Cache - Muss es immer gleich Varnish sein?
Search
Yanick Witschi
February 21, 2019
Technology
95
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Http Cache - Muss es immer gleich Varnish sein?
Kurzvortrag zu Alternativen zu Varnish, gehalten an der Symfony User Group Basel.
Yanick Witschi
February 21, 2019
More Decks by Yanick Witschi
See All by Yanick Witschi
Loupe - a Search Engine for PHP and SQLite
toflar
0
12
Loupe - wie schreibt man eine Suchmaschine nur mit SQLite und PHP?
toflar
0
97
Unicode: Die Vielf�ltigkeit von Zeichen und Symbolen
toflar
0
56
Asynchrone Kommunikation mit der Symfony Messenger-Komponente
toflar
0
280
The Long Journey Of Making Composer Memory-efficient and Fast
toflar
0
300
Keynote Contao Agenturtag 2020
toflar
1
1.8k
Caching mit Contao 4.8 für AnwenderInnen
toflar
1
440
HTTP Caching - Der Gigant unter den Caches
toflar
0
170
Git und GitHub für Nicht-Entwickler
toflar
2
530
Other Decks in Technology
See All in Technology
SREとQA 二人三脚で進めるSLO運用/sre-qa-slo
sugitak
0
460
貴方はどのエンジニアリングを磨くのか
hatyibei
0
130
非定型なドキュメントを効率よくリファクタする 〜えぇ!?仕様書27本の移行が1日で終わったって!?〜
subroh0508
1
320
知らん間に、回ってる
ming_ayami
0
530
穢れた技術選定について
watany
3
350
誤解だらけの開発生産性 / Myths and Misconceptions about Developer Productivity
i35_267
1
240
クラウド上のデータ復旧で見落としがちな制約: 医療系 SaaS の BCP 設計から得た教訓
kakehashi
PRO
0
3.4k
Amazon EVS で VCF 9.0 / 9.1 のサポート開始まとめ
mtoyoda
0
290
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.4k
ループエンジニアリングでE2Eテストを実践
noriyukitakei
0
350
AI Agent SaaS を支える自社仮想化基盤への挑戦と実運用 / ai-agent-saas-virtualization
flatt_security
2
3.8k
Making sense of Google’s agentic dev tools
glaforge
1
190
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
280
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
210
Prompt Engineering for Job Search
mfonobong
0
370
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
260
Building Flexible Design Systems
yeseniaperezcruz
330
40k
30 Presentation Tips
portentint
PRO
1
350
How to build a perfect <img>
jonoalderson
1
5.8k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Transcript
terminal42 web development gmbh Muss es immer gleich Varnish sein?
HTTP Caching 7. PHP Symfony User Group Basel
terminal42 web development gmbh Geschichte • Schweizer Newsportal • Mittelmässiger
Traffic, Tendenz steigend • Cache für alle Besucher identisch • Möchten so lange cachen wie möglich, bis der Artikel verändert wird
terminal42 web development gmbh Browser Server Private Cache Browser Private
Cache Proxy Shared Cache Public Cache Reverse Proxy Cache
terminal42 web development gmbh Die 3 Caching-Ansätze 1. Cache Expiration
Expires: <http-date> Cache-Control: <max-age, s-maxage> 2. Cache Validation Last-Modified: <http-date> If-Modified-Since: <http-date> ETag: <etag-value> If-None-Match: <etag-value> 3. Cache Invalidation (nur für Public Caches/Proxies) Cache-Tags: news-42
terminal42 web development gmbh Caching in Symfony
terminal42 web development gmbh FriendsOfSymfony/ HttpCache(Bundle)
terminal42 web development gmbh Varnish
terminal42 web development gmbh
terminal42 web development gmbh ???
terminal42 web development gmbh Symfony HttpCache [y] Super easy! [y]
Guter Start [x] PHP-Prozess [x] Nur Filesystem [x] Kein Housekeeping [x] Kein Cache Tagging
terminal42 web development gmbh PSR-6 Store [y] PSR-6 (FS, Redis…)
[y] Housekeeping [y] Cache Tagging [y] Volle FOS-Integration
terminal42 web development gmbh • KEINE Affiliation(!) • Open Source,
Enterprise-Version verfügbar • Apache Drop-In-Replacement (versteht bspw. Rewrite Rules) • Native PHP SAPI (mod_lsphp) • ESI-Support in Enterprise-Version • Brotli, HTTP/2 inkl. Server Push, PageSpeed, Load Balancing, Throttling etc. pp. • HTTP/3 am Horizont • Reverse Proxy mit Tagging-Support (!)
terminal42 web development gmbh
terminal42 web development gmbh
terminal42 web development gmbh Über mich • Yanick Witschi /
terminal42 gmbh • 30 • API's, Performance, Caching • Contao Core Team • Tennis, Basketball, Faustball • Scotch @toflar
[email protected]
https://github.com/toflar