We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd18921 commit 61ef9d5Copy full SHA for 61ef9d5
app/lib/frontend/handlers/misc.dart
@@ -40,7 +40,10 @@ Future<shelf.Response> wellKnownSecurityTxtHandler(
40
'Policy: https://pub.dev/security\n'
41
'Preferred-Languages: en\n'
42
'Expires: ${expiresDate}T00:00:00z\n';
43
- return shelf.Response.ok(content);
+ return shelf.Response.ok(
44
+ content,
45
+ headers: CacheControl.completionData.headers, // 8 hours public cache
46
+ );
47
}
48
49
/// Handles requests for /help
0 commit comments