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
0
90
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
Tweet
Share
More Decks by Yanick Witschi
See All by Yanick Witschi
Loupe - wie schreibt man eine Suchmaschine nur mit SQLite und PHP?
toflar
0
63
Unicode: Die Vielf�ltigkeit von Zeichen und Symbolen
toflar
0
50
Asynchrone Kommunikation mit der Symfony Messenger-Komponente
toflar
0
260
The Long Journey Of Making Composer Memory-efficient and Fast
toflar
0
270
Keynote Contao Agenturtag 2020
toflar
1
1.8k
Caching mit Contao 4.8 für AnwenderInnen
toflar
1
410
HTTP Caching - Der Gigant unter den Caches
toflar
0
150
Git und GitHub für Nicht-Entwickler
toflar
2
520
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
14k
AIに視覚を与えモバイルアプリケーション開発をより円滑に行う
lycorptech_jp
PRO
1
770
LINEヤフーにおけるAI駆動開発組織のプロデュース施策
lycorptech_jp
PRO
0
380
AIエンジニア Devin と歩む、自律型運用プロセスの構築
a2ito
0
620
Claude Cowork Plugins を読む - Skills駆動型業務エージェント設計の実像と構造
knishioka
0
230
Lookerの最新バージョンv26.2がやばい話
waiwai2111
1
150
ソフトウェアアーキテクトのための意思決定術: Create Decision Readiness—The Real Skill Behind Architectural Decision
snoozer05
PRO
27
8.4k
三菱UFJ銀行におけるエンタープライズAI駆動開発のリアル / Enterprise AI_Driven Development at MUFG Bank: The Real Story
muit
10
20k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.8k
EMからVPoEを経てCTOへ:マネジメントキャリアパスにおける葛藤と成長
kakehashi
PRO
5
550
「データとの対話」の現在地と未来
kobakou
0
1.2k
【SLO】"多様な期待値" と向き合ってみた
z63d
2
290
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Practical Orchestrator
shlominoach
191
11k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
120
Tell your own story through comics
letsgokoyo
1
830
Utilizing Notion as your number one productivity tool
mfonobong
4
240
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
330
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
970
Paper Plane
katiecoart
PRO
0
47k
Unsuck your backbone
ammeep
672
58k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Six Lessons from altMBA
skipperchong
29
4.2k
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