From 77121195a6c13b25f05d9bb7234859de56d8c6a4 Mon Sep 17 00:00:00 2001 From: yomna Date: Fri, 20 Mar 2026 11:05:49 -0400 Subject: [PATCH 1/2] [Workers/Pages] Add SvelteKit to build caching frameworks --- .../docs/pages/configuration/build-caching.mdx | 17 +++++++++-------- .../docs/workers/ci-cd/builds/build-caching.mdx | 17 +++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/content/docs/pages/configuration/build-caching.mdx b/src/content/docs/pages/configuration/build-caching.mdx index e510f3a2a23685..a604b1f1fd35ad 100644 --- a/src/content/docs/pages/configuration/build-caching.mdx +++ b/src/content/docs/pages/configuration/build-caching.mdx @@ -34,14 +34,15 @@ Some frameworks provide a cache directory that is typically populated by the fra The following frameworks support build output caching: -| Framework | Directories cached | -| ---------- | --------------------------------------------- | -| Astro | `node_modules/.astro` | -| Docusaurus | `node_modules/.cache`, `.docusaurus`, `build` | -| Eleventy | `.cache` | -| Gatsby | `.cache`, `public` | -| Next.js | `.next/cache` | -| Nuxt | `node_modules/.cache/nuxt` | +| Framework | Directories cached | +| ---------- | ----------------------------------------------------------- | +| Astro | `node_modules/.astro` | +| Docusaurus | `node_modules/.cache`, `.docusaurus`, `build` | +| Eleventy | `.cache` | +| Gatsby | `.cache`, `public` | +| Next.js | `.next/cache` | +| Nuxt | `node_modules/.cache/nuxt` | +| SvelteKit | `node_modules/.cache/imagetools`, `.svelte-kit` | ### Limits diff --git a/src/content/docs/workers/ci-cd/builds/build-caching.mdx b/src/content/docs/workers/ci-cd/builds/build-caching.mdx index eeea28e734cf75..2519a2c0f2c3c2 100644 --- a/src/content/docs/workers/ci-cd/builds/build-caching.mdx +++ b/src/content/docs/workers/ci-cd/builds/build-caching.mdx @@ -33,14 +33,15 @@ Some frameworks provide a cache directory that is typically populated by the fra The following frameworks support build output caching: -| Framework | Directories cached | -| ---------- | --------------------------------------------- | -| Astro | `node_modules/.astro` | -| Docusaurus | `node_modules/.cache`, `.docusaurus`, `build` | -| Eleventy | `.cache` | -| Gatsby | `.cache`, `public` | -| Next.js | `.next/cache` | -| Nuxt | `node_modules/.cache/nuxt` | +| Framework | Directories cached | +| ---------- | ----------------------------------------------------------- | +| Astro | `node_modules/.astro` | +| Docusaurus | `node_modules/.cache`, `.docusaurus`, `build` | +| Eleventy | `.cache` | +| Gatsby | `.cache`, `public` | +| Next.js | `.next/cache` | +| Nuxt | `node_modules/.cache/nuxt` | +| SvelteKit | `node_modules/.cache/imagetools`, `.svelte-kit` | :::note [Static assets](/workers/static-assets/) and [frameworks](/workers/framework-guides/) are now supported in Cloudflare Workers. From f92b84d774e3abed96e45052ca580aef1d19a4cd Mon Sep 17 00:00:00 2001 From: yomna Date: Fri, 20 Mar 2026 11:11:03 -0400 Subject: [PATCH 2/2] [Workers/Pages] Fix SvelteKit cached dirs - imagetools only --- src/content/docs/pages/configuration/build-caching.mdx | 2 +- src/content/docs/workers/ci-cd/builds/build-caching.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/pages/configuration/build-caching.mdx b/src/content/docs/pages/configuration/build-caching.mdx index a604b1f1fd35ad..fc7c31d36844d3 100644 --- a/src/content/docs/pages/configuration/build-caching.mdx +++ b/src/content/docs/pages/configuration/build-caching.mdx @@ -42,7 +42,7 @@ The following frameworks support build output caching: | Gatsby | `.cache`, `public` | | Next.js | `.next/cache` | | Nuxt | `node_modules/.cache/nuxt` | -| SvelteKit | `node_modules/.cache/imagetools`, `.svelte-kit` | +| SvelteKit | `node_modules/.cache/imagetools` | ### Limits diff --git a/src/content/docs/workers/ci-cd/builds/build-caching.mdx b/src/content/docs/workers/ci-cd/builds/build-caching.mdx index 2519a2c0f2c3c2..1184e4325d44a6 100644 --- a/src/content/docs/workers/ci-cd/builds/build-caching.mdx +++ b/src/content/docs/workers/ci-cd/builds/build-caching.mdx @@ -41,7 +41,7 @@ The following frameworks support build output caching: | Gatsby | `.cache`, `public` | | Next.js | `.next/cache` | | Nuxt | `node_modules/.cache/nuxt` | -| SvelteKit | `node_modules/.cache/imagetools`, `.svelte-kit` | +| SvelteKit | `node_modules/.cache/imagetools` | :::note [Static assets](/workers/static-assets/) and [frameworks](/workers/framework-guides/) are now supported in Cloudflare Workers.