Speed up your app with Response Caching
Laravel Packages / updated: August 24, 2016

Speed up your app with Response Caching

Freek Van der Herten has a new Laravel package named “laravel-responsecache” that enables you to speed up your site, by caching the entire response. Here are the benefits you gain by installing this package:

All successful responses (that is a response with a status code in the 200 or 300 range) to a GET-requests will now be cached for a week. If the response of a specific route or controller should never be cached middleware can be added it that prevents caching. Furthermore, each logged in user will have their own separate cache. Cached responses can be stored in any configured repository in Laravel. You could easily share a cache between servers by using memcached.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.