lexik / LexikTranslationBundle

This Symfony bundle allow to import translation files content into the database and provide a GUI to edit translations.
MIT License
419 stars 255 forks source link

Lexik Store Translation Caches on Shared Environment #443

Open sagaraspl opened 9 months ago

sagaraspl commented 9 months ago

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...

bartmcleod commented 9 months ago

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

sagaraspl commented 9 months ago

Hi @bartmcleod,

Thanks for your suggestion

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