redis cache and local settings template