Implementing Caching Strategies in Flask Applications