stefandoorn / sitemap-plugin

Sitemap Plugin for Sylius eCommerce platform
MIT License
79 stars 44 forks source link

How to use Redis to save sitemap files ? #167

Open jbcr opened 3 years ago

jbcr commented 3 years ago

My Sylius is installed on multiple servers and I cannot run the command on each web server.

Who to configure the plugin to use Redis for storage?

stefandoorn commented 3 years ago

There is no support for different storage drivers right now, besides that we use the Gaufrette filesystem as used by Sylius. But, I think you can override the reader/writer services inside the Filesystem namespace to achieve what you want. Might be interesting to have storage driver support included to either use file or eg redis. Feel free to PR :-D