I'll upgrade one of my projects to next14 at some point next week and see if I can get the same prob
I'll upgrade one of my projects to next14 at some point next week and see if I can get the same problem to look into it


Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit .vercel/output/static/_worker.js but that's only 27KB for me__next-on-pages-dist__/functions/ in which case there is a file there that's over 1MB.cache field doesn't work on workers runtime. You can try next.revalidate: false to force cache
npx create cloudflare node:url and node:fsexport async function getData(slug: string) {
const response = await fetch(
`https://data.retuning/api/data/${slug}`,
{
headers: {
"Api-Access-Key": "XXXX",
},
}
);
const slugResult = (await response.json()) as unknown as SlugData;
return slugResult;
}const cache = await caches.open(name);
let response = await cache.match(buildCacheKey(key));
...
getRequestContext().ctx.waitUntil(
cache.put(buildCacheKey(key), response.clone())[path]/
[...slug]/
page.tsx (should be pre-rendered)
page.tsx (should be pre-rendered)Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit