We have hosted the application flask caching in order to run this application in our online workstations with Wine or directly.
Quick description about flask caching:
Flask-Caching is an extension to Flask that adds caching support for various backends to any Flask application. By running on top of cachelib it supports all of werkzeug�s original caching backends through a uniformed API. It is also possible to develop your own caching backend by subclassing flask_caching.backends.base.BaseCache class. Flask�s pluggable view classes are also supported. To cache them, use the same cached() decorator on the dispatch_request method. Using the same @cached decorator you are able to cache the result of other non-view related functions. The only stipulation is that you replace the key_prefix, otherwise it will use the request.path cache_key. Keys control what should be fetched from the cache. If, for example, a key does not exist in the cache, a new key-value entry will be created in the cache. Otherwise, the value (i.e. the cached result) of the key will be returned.Features:
- Since 1.8, Flask-Caching supports only Python 3.5+
- Cache is managed through a Cache instance
- To cache view functions you will use the cached() decorator
- Caching Pluggable View Classes
- Flask�s pluggable view classes are also supported
- In memoization, the functions arguments are also included into the cache_key
Programming Language: Python.
Categories:
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.