You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Cache facade, the values are stored serialized. I was using the Redis facade to execute native commands like APPEND. The problem is that if I call Cache::get('my-key') if fails as it tries to unserialize it.
It would be nice to be able to set 'serialize' => false like in the array store in the config/cache.php file or to enable/disable serializing when calling the Cache::get or Cache::put methods.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When using the Cache facade, the values are stored serialized. I was using the Redis facade to execute native commands like
APPEND
. The problem is that if I callCache::get('my-key')
if fails as it tries to unserialize it.It would be nice to be able to set
'serialize' => false
like in the array store in theconfig/cache.php
file or to enable/disable serializing when calling theCache::get
orCache::put
methods.Beta Was this translation helpful? Give feedback.
All reactions