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
96
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
18
Loupe - wie schreibt man eine Suchmaschine nur mit SQLite und PHP?
toflar
0
100
Unicode: Die Vielf�ltigkeit von Zeichen und Symbolen
toflar
0
58
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
450
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
FPGAが実現する遠方宇宙の高空間分解能天体撮影 -大型地上望遠鏡の視力を補正する「補償光学」とは?-
komei_mt
0
410
FDEの心得
noriakioji
5
6.3k
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
860
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
2
440
少人数チームで実現する、大規模AWSサーバーレス基盤における"揺らがない"信頼性運用
maimyyym
1
110
Agent 時代の Kaggle 展望 / kaggle-in-the-agentic-era
upura
1
810
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.4k
社内の7割が使うデータ基盤を、 データチーム2人で回すためにやったこと
koh_yoshi
4
1.5k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
SO-101×VLAによる3色キューブのピック&プレース
abeja
0
220
老害フォレンジッカーはAI羊の夢を見るか?
tadmaddad
0
350
カートの信頼性を担保するWireMockを使ったe2eテスト
ykagano
0
410
Featured
See All Featured
Making Projects Easy
brettharned
120
6.7k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Building AI with AI
inesmontani
PRO
1
1.1k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
470
We Have a Design System, Now What?
morganepeng
55
8.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
330
エンジニアに許された特別な時間の終わり
watany
108
250k
Skip the Path - Find Your Career Trail
mkilby
1
190
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
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