Support the ongoing development of Laravel.io →
posted 10 years ago
Cache
Last updated 2 years ago.
0

anyone?

Last updated 2 years ago.
0

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

Last updated 2 years 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 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

keevitaja keevitaja Joined 2 Feb 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.