Caching for v1 API using flask extension.