Vero 🐙
04/05/2023, 5:05 PMSpoleto
04/05/2023, 5:08 PMif (url.searchParams.has('gclid') I| url.searchParams.has('fbclid') || url.searchParams.has('bing') || url.searchParams.has ('usg') |1
url.searchParams.has ('attribute') |1
url.pathname.toLowerCase () === '/walk-in-tub-pricing/' |1 country != 'US') §
response.headers.append(
"Set-Cookie".
"pricing-mode=on;max-age=604800; Path=/"
)
}
Spoleto
04/05/2023, 5:08 PMaltryne
04/05/2023, 8:27 PMdave
04/05/2023, 8:50 PMwrangler tail
altryne
04/05/2023, 8:52 PMHardAtWork
04/05/2023, 8:52 PMaltryne
04/05/2023, 8:54 PMdave
04/05/2023, 8:54 PMaltryne
04/05/2023, 8:56 PMChaika
04/05/2023, 8:57 PMChaika
04/05/2023, 8:59 PMembed
04/05/2023, 9:35 PMembed
04/05/2023, 9:36 PMUnsmart | Tech debt
04/05/2023, 10:05 PMaltryne
04/05/2023, 10:10 PMwedtm
04/05/2023, 10:29 PMzegevlier
04/05/2023, 10:31 PMUnsmart | Tech debt
04/05/2023, 10:31 PMUnsmart | Tech debt
04/05/2023, 10:32 PMHardAtWork
04/05/2023, 10:32 PMHardAtWork
04/05/2023, 10:33 PMwedtm
04/05/2023, 10:35 PMSpoleto
04/05/2023, 10:36 PMembed
04/05/2023, 10:42 PMdave
04/05/2023, 11:24 PMchientrm
04/06/2023, 8:40 AMfetch
cacheTtl disabled when using wrangler dev
? 🤔chientrm
04/06/2023, 9:49 AMfetch
from my worker to my external api (proxied via tunnel - orange cloud).chientrm
04/06/2023, 9:50 AMcf: { cacheTtl: 300, cacheEverything: true }
but it doesn't cache anything 😐chientrm
04/06/2023, 10:00 AMworkers.dev
🤦♂️