Path of least resistance might be to adapt an existing SMTP library to the Worker's TCP API
Path of least resistance might be to adapt an existing SMTP library to the Worker's TCP API
ve been having this issue for a while now.
My wrangler version: wrangler 3.4.0`wrangler secret put for the deploy?sharp which cannot run on Workers. Perhaps could use jimp but it's probably costly on CPU and Workers have limited memory. Cloudflare Images seems to be more about serving images with transformations, rather than transforming/validating on ingest via a worker (would prefer to store a single minified image in R2)?http_server_duration_count{worker="my-worker", http_status_code=~"2.."}
servicii.cmnstmntmn.com and Worker Custom Domains just won't work

ve been having this issue for a while now.
My wrangler version: wrangler secret putsharpjimphttp_server_duration_count{worker="my-worker", http_status_code=~"2.."}servicii.cmnstmntmn.com const cfCache = await platform.caches.open("(cache name here)");
const cacheMatch = await cfCache.match(cacheURL) as Response | undefined;
if(cacheMatch) {
const responseGeneratedRaw = cacheMatch.headers.get("x-response-generated");
if(responseGeneratedRaw) {
const responseGenerated = new Date(responseGeneratedRaw);
if(Date.now() - responseGenerated.getTime() < cache_time) {
// return data from cache match
}
}
}platform?.context?.waitUntil(
cfCache.put(cacheURL, await createMFResponse(jsonResponse.clone()) as Response)
)TypeError: Cannot read properties of undefined (reading 'fetch')