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

As I remember the caches are stored in /storage/cache and the beginning of each cache starts with a timestamp which is the expiration time. You could parse the file for it here but the folders they reside in are named with hashes, and not your cache key. Perhaps when you cache something you can also store the cache key and expiration in the database, if you needed that.

time() + ($timeToCacheInMinutes * 60)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

netm netm Joined 2 Apr 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.