I’ve only used 2,000 write operations in KV, in a month. While the monthly limit is 1 million.
I’ve only used 2,000 write operations in KV, in a month. While the monthly limit is 1 million.





remove namespace: 'namespace has associated scripts: pages-worker--1260571-production'Property cursor does not exist on type 'KVNamespaceListResult<unknown, string>'. Though cursor key exists and is returned as expected


const cached = await KV.get(key, { type: 'json', cacheTtl: 1800 })
if (cached) return cached
await KV.put(key, JSON.stringify(value), { expirationTtl: 1800 })cacheTtl and expirationTtl set to 1800 (30 min), the D1 analytics show hundreds of reads over 48 hours, even though the value rarely changes and should be served from cache most of the time. For example I expected around 96 calls but i'm getting like ~500.remove namespace: 'namespace has associated scripts: pages-worker--2406846-production 

const cached = await KV.get(key, { type: 'json', cacheTtl: 1800 })
if (cached) return cached
await KV.put(key, JSON.stringify(value), { expirationTtl: 1800 })