Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def cachable_for_up_to_1h():
def not_cachable():
return "Don't cache me!"

@app.route("/not-cacheable/")
@app.route("/custom-cache/")
@set_cache_control("private, max-age=120")
def private_cache():
def custom_cache():
return "Cache me in private caches for up to 2 minutes"
```

Expand Down
Loading