LexikTranslationBundle icon indicating copy to clipboard operation
LexikTranslationBundle copied to clipboard

Lexik Store Translation Caches on Shared Environment

Open sagaraspl opened this issue 2 years ago • 2 comments

Hi Presently Lexik is preparing cache files in var/cache directory and clearing the cache when new translation added. It will clear the cache only from one www server and it won't work when we have multiple www servers. Is there a way that we can store lexik translation cache in to shared storage like Redis etc...

sagaraspl avatar Oct 05 '23 08:10 sagaraspl

You would have to take a look at how the cache driver is configured

bartmcleod avatar Oct 05 '23 08:10 bartmcleod

Hi @bartmcleod,

Thanks for your suggestion

However can you elaborate it bit more which steps I can take to solve this issue?

sagaraspl avatar Oct 05 '23 09:10 sagaraspl