miniflare
miniflare copied to clipboard
Miniflare does not support RequestInit["cf"]["cacheEverything"]
The cf
object is only partially implemented. Miniflare supports cacheKey
, cacheTtl
and cacheTtlByStatus
, but not cacheEverything
.
It would be great if this very useful option cached correctly!
Hey! 👋 Thanks for the feature request. I'm pretty busy the next few weeks with exams, but will try add this soon. 👍
Hey! 👋 Following up on this internally, it turns out the Workers Cache API only respects request.cf.cacheKey
. This means Miniflare is incorrect in supporting cacheTtl
and cacheTtlByStatus
, and doesn't need to support cacheEverything
. 👍