diff options
-rw-r--r-- | fietsboek/views/profile.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fietsboek/views/profile.py b/fietsboek/views/profile.py index e73df42..fcb08ee 100644 --- a/fietsboek/views/profile.py +++ b/fietsboek/views/profile.py @@ -157,7 +157,12 @@ def profile(request: Request) -> dict: } -@view_config(route_name="user-tile", request_method="GET", permission="profile.view") +@view_config( + route_name="user-tile", + request_method="GET", + permission="profile.view", + http_cache=datetime.timedelta(hours=1), +) def user_tile(request: Request) -> Response: """Returns a single tile from the user's own overlay maps. |