@@ -107,7 +107,7 @@ class RegionalCache implements IncrementalCache {
107
107
const cachedResponse = await cache . match ( urlKey ) ;
108
108
109
109
if ( cachedResponse ) {
110
- debugCache ( "RegionalCache" , " get: cached response" ) ;
110
+ debugCache ( "RegionalCache" , ` get ${ key } -> cached response` ) ;
111
111
112
112
// Re-fetch from the store and update the regional cache in the background.
113
113
// Note: this is only useful when the Cache API is not purged automatically.
@@ -135,7 +135,7 @@ class RegionalCache implements IncrementalCache {
135
135
const { value, lastModified } = rawEntry ?? { } ;
136
136
if ( ! value || typeof lastModified !== "number" ) return null ;
137
137
138
- console . log ( "RegionalCache" , `get, key = ${ key } -> put to cache` ) ;
138
+ console . log ( "RegionalCache" , `get ${ key } -> put to cache` ) ;
139
139
140
140
// Update the locale cache after retrieving from the store.
141
141
getCloudflareContext ( ) . ctx . waitUntil (
@@ -155,7 +155,7 @@ class RegionalCache implements IncrementalCache {
155
155
cacheType ?: CacheType
156
156
) : Promise < void > {
157
157
try {
158
- debugCache ( "RegionalCache" , `set: key = ${ key } ` ) ;
158
+ debugCache ( "RegionalCache" , `set ${ key } ` ) ;
159
159
160
160
await this . store . set ( key , value , cacheType ) ;
161
161
@@ -175,7 +175,7 @@ class RegionalCache implements IncrementalCache {
175
175
}
176
176
177
177
async delete ( key : string ) : Promise < void > {
178
- debugCache ( "RegionalCache" , `delete: key = ${ key } ` ) ;
178
+ debugCache ( "RegionalCache" , `delete ${ key } ` ) ;
179
179
try {
180
180
await this . store . delete ( key ) ;
181
181
0 commit comments