This is the Linux app named Flask-Caching whose latest release can be downloaded as 2.1.0.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named Flask-Caching with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
Flask-Caching
DESCRIPTION
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
This is an application that can also be fetched from https://sourceforge.net/projects/flask-caching.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.