Set cache-control headers using flask-cache.

Add constant times in cache_time.