Grant response cache functionality to app models with minimal configuration.
This package is still WIP and sperimental.
You can install the package via composer:
composer require marcoguidara/quick-laravel-responsecache
You can publish the config file with:
php artisan vendor:publish --provider="MarcoGuidara\QuickResponseCache\QuickResponseCacheServiceProvider"
This is the contents of the published config file:
return [ /* * Determine if the response cache should be enabled. */ 'enabled' => env('QUICK_RESPONSE_CACHE_ENABLED', true), /* * Default number of seconds responses must be cached. */ 'cache_lifetime_in_seconds' => env('QUICK_RESPONSE_CACHE_LIFETIME', 60 * 60 * 24 * 7), ];
php artisan responsecache:clear
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.