Jun 3, 2026
0
Level 2
How to test Cache memoization
Hi, I really need any information about how to create performance test only for Cache memoization.
Before
Cache::remember('posts', 60, function () {
return Post::all();
});
After
Cache::memo()->remember('posts', 60, function () {
return Post::all();
});
I'm not familiar with the flow behind cache memoization so I have no idea what should be considered when do performance testing.
Please or to participate in this conversation.