| 1 |
API |
| 2 |
=== |
| 3 |
|
| 4 |
This section contains the API documentation of the Flask-Caching extension and |
| 5 |
lists the backends which are supported out of the box via cachelib. |
| 6 |
The `Configuration <index.html#configuring-flask-caching>`_ section explains |
| 7 |
how the backends can be used. |
| 8 |
|
| 9 |
|
| 10 |
.. module:: flask_caching |
| 11 |
|
| 12 |
|
| 13 |
Cache API |
| 14 |
--------- |
| 15 |
|
| 16 |
.. autoclass:: Cache |
| 17 |
:members: init_app, get, set, add, delete, get_many, set_many, delete_many, |
| 18 |
has, clear, cached, memoize, delete_memoized, delete_memoized_verhash |
| 19 |
|
| 20 |
|
| 21 |
Backends |
| 22 |
-------- |
| 23 |
|
| 24 |
.. versionchanged:: 1.11.0 |
| 25 |
flask-caching now uses cachelib as backend. See `cachelib API`_ for further details. |
| 26 |
|
| 27 |
|
| 28 |
.. _cachelib API: https://cachelib.readthedocs.io/en/stable/ |