adding a very lightweight werkzeug-based caching decorator