added redis caching and loading gif file