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
86
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
44
Unicode: Die Vielf�ltigkeit von Zeichen und Symbolen
toflar
0
38
Asynchrone Kommunikation mit der Symfony Messenger-Komponente
toflar
0
250
The Long Journey Of Making Composer Memory-efficient and Fast
toflar
0
260
Keynote Contao Agenturtag 2020
toflar
1
1.8k
Caching mit Contao 4.8 für AnwenderInnen
toflar
1
390
HTTP Caching - Der Gigant unter den Caches
toflar
0
130
Git und GitHub für Nicht-Entwickler
toflar
2
510
Other Decks in Technology
See All in Technology
明日から真似してOk!NOT A HOTELで実践している入社手続きの自動化
nkajihara
1
840
Rubyist入門: The Way to The Timeless Way of Programming
snoozer05
PRO
7
520
スタートアップの事業成長を支えるアーキテクチャとエンジニアリング
doragt
0
830
Dart and Flutter MCP serverで実現する AI駆動E2Eテスト整備と自動操作
yukisakai1225
0
570
AI エージェントを評価するための温故知新と Spec Driven Evaluation
icoxfog417
PRO
2
280
プロダクト負債と歩む持続可能なサービスを育てるための挑戦
sansantech
PRO
0
130
Service Monitoring Platformについて
lycorptech_jp
PRO
0
310
ソフトウェア開発現代史: 55%が変化に備えていない現実 ─ AI支援型開発時代のReboot Japan #agilejapan
takabow
7
4.4k
ABEMAのCM配信を支えるスケーラブルな分散カウンタの実装
hono0130
4
960
それでは聞いてください「Impeller導入に失敗しました」 #FlutterKaigi #skia
tacck
PRO
0
140
『HOWはWHY WHATで判断せよ』 〜『ドメイン駆動設計をはじめよう』の読了報告と、本質への探求〜
panda728
PRO
5
2.1k
AI時代の戦略的アーキテクチャ 〜Adaptable AI をアーキテクチャで実現する〜 / Enabling Adaptable AI Through Strategic Architecture
bitkey
PRO
7
2.2k
Featured
See All Featured
Scaling GitHub
holman
463
140k
Designing for humans not robots
tammielis
254
26k
Agile that works and the tools we love
rasmusluckow
331
21k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Side Projects
sachag
455
43k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
980
BBQ
matthewcrist
89
9.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
2.9k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Building an army of robots
kneath
306
46k
Practical Orchestrator
shlominoach
190
11k
Embracing the Ebb and Flow
colly
88
4.9k
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