excuse me ... waht is Workers Constellation
excuse me ... waht is Workers Constellation
cacheKey still an enterprise-only feature?

documentation URL in this case fetch's cache?

cacheEverything: true cache non-200 responses?cacheKeycacheEverything: trueconst aws_client = new AwsClient({
accessKeyId: c.env.S3_ACCESS_KEY_ID,
secretAccessKey: c.env.S3_SECRET_ACCESS_KEY,
retries: 0,
service: "s3",
})
const s3_url = new URL(`${c.env.S3_ENDPOINT}/${sha256}.json`);
const s3_result = await aws_client.fetch(s3_url.toString(), {
method: "GET",
cf: {
cacheEverything: true,
cacheTtl: 31536000, // 1 year
}
});for(let i = 0; i < 10; i++) {
await new Promise(r => setTimeout(r, 5000));
const result = await fetch(loc);
// ...
}