diff --git a/codeGrader/backend/api/app.py b/codeGrader/backend/api/app.py index 4233d55..615613d 100644 --- a/codeGrader/backend/api/app.py +++ b/codeGrader/backend/api/app.py @@ -594,6 +594,7 @@ def testcase(id_) -> dict: @app.route("/testcases", methods=['GET']) +@cache.cached(config.cache_timeout, unless=cache_bypass, query_string=True) @authentication def testcases() -> dict: """