Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add cache contro to cloudflare pages integration

Maidul Islam2a86e6f4d159
diff --git a/backend/src/services/integration-auth/integration-sync-secret.ts b/backend/src/services/integration-auth/integration-sync-secret.ts
index 8d9ca0d3ac..faaec770c9 100644
--- a/backend/src/services/integration-auth/integration-sync-secret.ts
+++ b/backend/src/services/integration-auth/integration-sync-secret.ts
@@ -3714,7 +3714,8 @@ const syncSecretsCloudflarePages = async ({
}>(`${IntegrationUrls.CLOUDFLARE_PAGES_API_URL}/client/v4/accounts/${accessId}/pages/projects/${integration.app}`, {
headers: {
Authorization: `Bearer ${accessToken}`,
- Accept: "application/json"
+ Accept: "application/json",
+ "Cache-Control": "no-cache"
}
})
).data.result.deployment_configs[integration.targetEnvironment as string].env_vars;