~/talk

Caching with PSRs

Talkat PHP Tour Montpellier 2018 · 2018-05-17..05-18· [php, web-performance]
slides:none on file

Advocates a concrete rule: applications keep working when the cache is down, then contrasts PSR-6 CacheItemPool/entity model (item objects, deferred saves, tags, hierarchical keys, stampede protection) with the much smaller PSR-16 Simple Cache (get/set, multi ops, no deferred). Uses package indexes and cache/integration-tests and shows Symfony and cache/* adapters and bridges. Adoption remains low (single-digit dependents reported), adapters exist to wrap PSR-6 as PSR-16, and the designs trade capability for simplicity.

AI-written summary · about

  1. 0:00Introduction to caching
  2. 7:17Caching before PSRs
  3. 10:14Introducing PSR-6
  4. 24:26Practical PSR-6 usage
  5. 31:15Introducing PSR-16
  6. 34:52PSR-16 adoption and upgrade
  7. 37:27Recap and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.