So just so I'm clear, for example https://webstudio.is/build/entry.client-QHBMJZIF.js is taking 137m
So just so I'm clear, for example https://webstudio.is/build/entry.client-QHBMJZIF.js is taking 137ms in your screenshot and that's served from KV?
4453161ad26e32a617c6c6d4b837c9d9/workers/kv/namespaces/989796259c334124b2e868bd9a0c3849

shouldEdgeCache in your options and see if that fixes it
cache manually though
?css-hash in screenshots above // @todo the whole logic looks strange, add test, write what it solves
if (asset) {
finalRequest = new Request(
url.origin + "/" + asset,
request as RequestInit
);
}
const response = await getAssetFromKV(
{
request: finalRequest,
waitUntil(promise) {
return ctx.waitUntil(promise);
},
},
{
ASSET_NAMESPACE: env.__STATIC_CONTENT,
ASSET_MANIFEST: assetManifest,
cacheControl: {
browserTTL: ttl,
edgeTTL: ttl,
},
}
);
return response;[site]
bucket = "./public"4453161ad26e32a617c6c6d4b837c9d9/workers/kv/namespaces/989796259c334124b2e868bd9a0c3849shouldEdgeCachecache?css-hashconst userWorker = env.dispatcher.get(workerName);
return await userWorker.fetch(request);