Caching with PSRs
summary
PSR-6 defines a repository/item model with deferred commits, tagging, hierarchical keys and built‑in cache stampede protection; PSR-16 is a single get/set interface with batch ops but no deferred items so it stays simpler. Implementations live on Packagist like symfony/cache and adapter packages and test suites such as cache/integration-tests and include array, void and chained adapters. Adoption is gradual only about nine dependents after 18 months, and live demos show both working and failing caching setups.
AI-written summary · about
chapters (10)
- 0:00Start
- 3:52Geocoding an Ip Address
- 5:45Cache on the Application Layer
- 7:13Caching in 2015
- 9:09Psr 6 Php Standard Recommendation
- 15:32Cache Tagging
- 16:02Hierarchical Caching
- 19:28Void Adapter
- 20:03Chained Adapter
- 27:03Recap
related talks
42mSymfony Cache: a premium recipe to fast apps
23mSf Cache Component: Speed Up Your App with a New Cache Layer
47mPSCache: simple strategies for magnificent performance
37mDemystifying cache in Doctrine ORM
38mPHP FIG: Helping communities work together
46mPSR-18: Abstracting HTTP clients in PHP
52mPSR 7 HTTP Messages In the Wild
31mExploring Build Caching - A Practical Overview
