No idea what you are doing or why. I've touched probably a hundred projects and never seen or heard of such a requirement.
Feb 24, 2024
5
Level 1
Laravel: generate new cache and then clean old
I am trying to regenerate cache on Laravel v. 8.9.0. The cache generates a lot of time and in this time I need to use the old. Once the new cache generated totally I want to replace by newest. I am using something: Cache::put(static::DATA_STRUCTURE, json_encode($tree))
However the cache does not refreshing. Maybe someone can provide me the answer or at least had experience regarding this subject. Many thanks.
Please or to participate in this conversation.