larapex-charts icon indicating copy to clipboard operation
larapex-charts copied to clipboard

Problem with cache

Open tdrabikdev opened this issue 3 years ago • 2 comments

Hello guys, yeah that me again :) i want to use a cached data in redis however i am getting weird results :D

No cache data; image

Cached data: image

tdrabikdev avatar Aug 21 '21 11:08 tdrabikdev

Umm there would not be anything that could be different, but please provide more context to help you

ArielMejiaDev avatar Aug 24 '21 15:08 ArielMejiaDev

simple cache in larvel

$data = cache()->remember('dataCache',now->addDay(),function(){
return User::all();
})

tdrabikdev avatar Aug 24 '21 15:08 tdrabikdev

I was not able to get more context, so I will close the issue...

ArielMejiaDev avatar Sep 18 '22 15:09 ArielMejiaDev