We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5fe6d3 commit 0bd6a2aCopy full SHA for 0bd6a2a
packages/cloudflare/src/api/kvCache.ts
@@ -54,6 +54,9 @@ class Cache implements IncrementalCache {
54
const response = await this.assets.fetch(url);
55
this.debug(`- From Assets`);
56
if (response.ok) {
57
+ // TODO: consider populating KV with the asset value if faster.
58
+ // This could be optional as KV writes are $$.
59
+ // See https://github.com/opennextjs/opennextjs-cloudflare/pull/194#discussion_r1893166026
60
entry = {
61
value: await response.json(),
62
// __BUILD_TIMESTAMP_MS__ is injected by ESBuild.
0 commit comments