Skip to content

Use cache #11

@jace

Description

@jace

Flask-Lastuser should accept a cache parameter along with init_app and use that to cache the user object instead of retrieving from the db each request.

Alternatively, it should auto-discover cache from the app's installed extensions.

Since the User object is an SQLAlchemy object, SQLAlchemy's own support for caching should be considered.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions