From 63e4bf8993dd315e7716f039b6d73ed548411e71 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 28 May 2026 12:34:09 +0100 Subject: [PATCH] Rename route for custom cache example in Flask documentation --- docs/flask.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/flask.md b/docs/flask.md index 8ab4c38..abc675f 100644 --- a/docs/flask.md +++ b/docs/flask.md @@ -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" ```