Workers KV - cacheTtl question

Two questions:

  1. What the max value one can give to the cacheTtl parameter? Documentation gives an example with 24 hours, but can it be longer? I have data that needs to be accessed frequently but changes once a year
  2. If a NAMESPACE.get request called again within the cache duration, does it account for a new request in the daily/monthly quota?


  1. There’s no enforced maximum value but realistically a value will be evicted from cache long before a year.
  2. get requests count against quota regardless of whether they’re cached.