cache.app is not persisted between "deploys" #48319
{{editor}}'s edit
{{editor}}'s edit
Loading...
Sorry, something went wrong.
-
I might have been debugging this too much already so I'm not thinking straight. I've just created a new symfony project (tried 5.4 and 6.1.7) without configuring config/packages/cache.yaml and added a simple CLI command like this: the first time the command is executed value is calculated and saved to cache. The second time the value Is taken from cache. After that I run cache:clear to simulate what would happen during a deploy. Now the command is executed for the third time and there's a new value. While debugging I noticed that during cache:clear old files in var/cache/dev are simply deleted along with var/cache/dev/pools/app which contained original value. Isn't cache.app supposed to persist between deploys without having to configure adapter to use some other directory ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 suggested answer
-
I guess this is similar to #24383 (comment) In this case the official answer is
|
Beta Was this translation helpful? Give feedback.
I guess this is similar to #24383 (comment)
In this case the official answer is