Support the ongoing development of Laravel.io →
Cache
Last updated 2 weeks ago.
0

anyone?

Last updated 2 weeks ago.
0

There is no real downside. I agree it does make sense to use it how your proposal says.

Last updated 2 weeks ago.
0

Since by definition Cache is something that shouldn't be relied on, if something wrong goes while putting data into Cache (connection error/out-of-memory/etc) you can still process the data not relying on cache's output. I think this is why Cache::put() is a method which is considered one-way mechanism not returning anything.

Last updated 2 weeks ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

keevitaja keevitaja keevitaja Joined 2 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.