Skip to content

Commit b8f84da

Browse files
committed
testing cache-control headers
1 parent 216e286 commit b8f84da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

functions/technologies/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ def dispatcher(request):
2222
return ("", 204, headers)
2323

2424
# Set CORS headers for the main request
25-
headers = {"Access-Control-Allow-Origin": "*"}
25+
headers = {
26+
"Access-Control-Allow-Origin": "*",
27+
"cache-control": "public, max-age=31536000"
28+
}
2629
args = request.args.to_dict()
2730

2831
validator = Validator(params=args)

0 commit comments

Comments
 (0)