move redis caching into separate env files