Aeros.caching.server
¶
This module contains features for server-side caching by wrapping the flask_caching module.
Module Contents¶
Classes¶
The most basic cache that requires no set-up and no arguments. |
|
Stores cached responses on the file system, |
|
An alias for FileSystemCache |
|
A Redis client to store responses on an external Redis server. |
-
class
Aeros.caching.server.
SimpleCache
(app: Optional[Flask] = None, with_jinja2_ext: bool = True, config=None)¶ Bases:
flask_caching.Cache
The most basic cache that requires no set-up and no arguments.
-
class
Aeros.caching.server.
FileSystemCache
(app: Optional[Flask] = None, with_jinja2_ext: bool = True, config=None)¶ Bases:
flask_caching.Cache
Stores cached responses on the file system, good for huge caches that don’t fit into memory.
-
class
Aeros.caching.server.
FilesystemCache
¶ An alias for FileSystemCache
Warning
This class is deprecated! Use FileSystemCache instead.
-
class
Aeros.caching.server.
RedisCache
(app: Optional[Flask] = None, with_jinja2_ext: bool = True, config=None)¶ Bases:
flask_caching.Cache
A Redis client to store responses on an external Redis server.