Update
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* You can provide your own class given that it implements the
|
||||
* CacheProfile interface.
|
||||
*/
|
||||
'cache_profile' => Spatie\ResponseCache\CacheProfiles\CacheAllSuccessfulGetRequests::class,
|
||||
'cache_profile' => App\Http\Middleware\InertiaResponseCacheProfile::class,
|
||||
|
||||
/*
|
||||
* Optionally, you can specify a header that will force a cache bypass.
|
||||
@@ -85,7 +85,7 @@
|
||||
* This class is responsible for generating a hash for a request. This hash
|
||||
* is used to look up a cached response.
|
||||
*/
|
||||
'hasher' => \Spatie\ResponseCache\Hasher\DefaultHasher::class,
|
||||
'hasher' => App\Http\Middleware\InertiaResponseCacheHasher::class,
|
||||
|
||||
/*
|
||||
* This class is responsible for serializing responses.
|
||||
|
||||
Reference in New Issue
Block a user