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
85
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
39
Unicode: Die Vielf�ltigkeit von Zeichen und Symbolen
toflar
0
36
Asynchrone Kommunikation mit der Symfony Messenger-Komponente
toflar
0
240
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
500
Other Decks in Technology
See All in Technology
業務効率化をさらに加速させる、ノーコードツールとStep Functionsのハイブリッド化
smt7174
2
130
社内報はAIにやらせよう / Let AI handle the company newsletter
saka2jp
8
1.4k
大規模サーバーレスAPIの堅牢性・信頼性設計 〜AWSのベストプラクティスから始まる現実的制約との向き合い方〜
maimyyym
6
4.1k
ユーザーの声とAI検証で進める、プロダクトディスカバリー
sansantech
PRO
1
130
後進育成のしくじり〜任せるスキルとリーダーシップの両立〜
matsu0228
7
3.2k
速習AGENTS.md:5分で精度を上げる "3ブロック" テンプレ
ismk
6
730
Where will it converge?
ibknadedeji
0
210
Uncle Bobの「プロフェッショナリズムへの期待」から学ぶプロの覚悟
nakasho
2
110
Azure Well-Architected Framework入門
tomokusaba
1
350
定期的な価値提供だけじゃない、スクラムが導くチームの共創化 / 20251004 Naoki Takahashi
shift_evolve
PRO
4
360
スタートアップにおけるこれからの「データ整備」
shomaekawa
2
350
AIAgentの限界を超え、 現場を動かすWorkflowAgentの設計と実践
miyatakoji
1
160
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
11k
Mobile First: as difficult as doing things right
swwweet
224
10k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
4 Signs Your Business is Dying
shpigford
185
22k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Code Reviewing Like a Champion
maltzj
526
40k
How GitHub (no longer) Works
holman
315
140k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
A Modern Web Designer's Workflow
chriscoyier
697
190k
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