bobmurdoch
4 years ago

Cache bypass if caching server is unavailable?

Posted 4 years ago by bobmurdoch

In the event my caching backend is unavailable ( i.e. redis crashes ), is there an elegant way to have Laravel just ignore the the caching mechanism rather than throwing Exceptions? I wrapped my cache functions with exception handlers, but there seems to still be a check that calls onConnectionError.

Please sign in or create an account to participate in this conversation.