Skip to content

Commit 54f7956

Browse files
committed
Apply suggestions from code review
1 parent e26f47d commit 54f7956

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

examples/overrides/static-assets-incremental-cache/open-next.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { defineCloudflareConfig } from "@opennextjs/cloudflare";
2-
import memoryQueue from "@opennextjs/cloudflare/overrides/queue/memory-queue";
32
import staticAssetsIncrementalCache from "@opennextjs/cloudflare/overrides/incremental-cache/static-assets-incremental-cache";
43

54
export default defineCloudflareConfig({

packages/cloudflare/src/api/overrides/incremental-cache/static-assets-incremental-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const CACHE_DIR = "cdn-cgi/_next_cache";
99
export const NAME = "cf-static-assets-incremental-cache";
1010

1111
/**
12-
* This cache uses KV static assets and is not recommended. It should only be used for applications
12+
* This cache uses Workers static assets and is not recommended. It should only be used for applications
1313
* that do NOT want revalidation and ONLY want to serve pre-rendered data.
1414
*/
1515
class StaticAssetsIncrementalCache implements IncrementalCache {

packages/cloudflare/src/cli/commands/populate-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export async function populateCache(
185185
mkdirSync(path.dirname(outputDestPath), { recursive: true });
186186
cpSync(fsPath, outputDestPath);
187187
}
188-
logger.info(`Successfully populated static assets`);
188+
logger.info(`Successfully populated static assets cache with ${assets.length} assets`);
189189
break;
190190
}
191191
default:

0 commit comments

Comments
 (0)