inveniosoftware / inveniosoftware/invenio-cache

decorators: take into account flashed messages

Open
#4 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
0
Forks
19
Avg merge
4h 36m
Merged PRs (30d)
1

Description

Flashed messages (using `flask.flash`) won't be rendered if a cached page is displayed.

Since this is probably an unwanted side effect by most people it should probably be part of the default [`cached_unless_authenticated`](https://github.com/inveniosoftware/invenio-cache/blob/master/invenio_cache/decorators.py#L34) decorator.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.