Memoize Tagged Cache Reads in Laravel
- by Paul Redmond
- Published on Laravel News
- Curated on
- Laravel Tutorials
Use Cache::memo()->tags() in Laravel to read tagged cache values once per request and serve repeat lookups from memory, with writes and flushes kept in sync.
The post Memoize Tagged Cache Reads in Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.