The `shouldCache()` method lets you cache model accessor values

The `shouldCache()` method lets you cache model accessor values

🔥 Laravel Tip: Accessor Caching

As of Laravel 9.6, if you have a computationally intensive accessor, you can use the shouldCache method.

We're writing a book, you can get it for free here.