I have my caching set up as such which works as expected:
$stack->push(
new CacheMiddleware(
new PrivateCacheStrategy(
new LaravelCacheStorage(
\Illuminate\Support\Facades\Cache::store('redis')
)
)
),
'cache'
);
The one issue is, the items aren't being deleted from Redis.
The cache isn't being hit and requests are being sent once the TTL has expired which is expected, but as mentioned above the items aren't actually being deleted from Redis.
How would one set the items to delete automatically?
I have my caching set up as such which works as expected:
The one issue is, the items aren't being deleted from Redis.
The cache isn't being hit and requests are being sent once the TTL has expired which is expected, but as mentioned above the items aren't actually being deleted from Redis.
How would one set the items to delete automatically?