diff --git a/packages/metadata-service/src/index.ts b/packages/metadata-service/src/index.ts index 5e0535fd1..0162d5ef4 100644 --- a/packages/metadata-service/src/index.ts +++ b/packages/metadata-service/src/index.ts @@ -367,7 +367,12 @@ server.get<{ Querystring: { subnetwork: string; cursor?: string; } }>( }; }); - reply.header("Cloudflare-CDN-Cache-Control", "no-cache"); + if (isLastPage) { + reply.header("Cloudflare-CDN-Cache-Control", "no-cache"); + } else { + reply.header("Cloudflare-CDN-Cache-Control", "max-age=86400"); // 1 day in seconds + + } return result; }