Repositories icon indicating copy to clipboard operation
Repositories copied to clipboard

[Feature Request] Make Cache System off for specific request

Open tyloo opened this issue 9 years ago • 1 comments

Hello,

I have set the trait ShouldCache for a model on my frontend, but I need to set it off for the backend. It would be great to be able to set the caching off for specific calls.

ex : $repository->noCache()->all(); and the opposite (maybe) : $repository->cache($tag = null)->all();

What do you think?

tyloo avatar Jul 29 '15 13:07 tyloo

It's a good idea. I thought about that some time ago, but at least I forgot to do this. I am going to do this implementation as soon as I can.

SebastianBerc avatar Jul 29 '15 14:07 SebastianBerc