Skip to content

Commit f91e4f3

Browse files
authored
Reduce cache-control max-age for Exported API (#8325)
1 parent c95ce19 commit f91e4f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/lib/package/api_export/exported_api.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ final class ExportedApi {
7272
ExportedJsonFile<Map<String, Object?>>._(
7373
this,
7474
'/not-found.json',
75-
Duration(minutes: 10),
75+
Duration(minutes: 2),
7676
);
7777

7878
/// Run garbage collection on the bucket.
@@ -255,7 +255,7 @@ final class ExportedPackage {
255255
ExportedJsonFile<T> _suffix<T>(String suffix) => ExportedJsonFile<T>._(
256256
_owner,
257257
'/api/packages/$_package$suffix',
258-
Duration(minutes: 10),
258+
Duration(minutes: 2),
259259
);
260260

261261
/// Interface for writing `/api/packages/<package>`.

0 commit comments

Comments
 (0)