lmtr0
05/28/2023, 7:38 PMjs
const fetchBucketContent = async (path: string, bucket: string): Promise<Response> => {
return fetch(`https://${bucket}${path}`, {
cf: {
cacheEverything: true
}
})
}
However, when I look at the cloudflare analytics, this is the percentage of cahing I'm getting:
I was testing my site with Webpagetest and GT Metrics multiple times, I want webpagetest and GTMetrics to receive the cahced content and not the worker content. How would I go about that?
https://cdn.discordapp.com/attachments/1112464946819780710/1112464947255967744/image.png▾
lmtr0
05/28/2023, 7:39 PM