cloudflare / cloudflare/workers-sdk
Miniflare sets `CF-Cache-Status` to null on misses
Open
package:miniflare
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.5k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 187
Description
Contrary to cloudflare's behavior, miniflare does not set `CF-Cache-Status` when the cache was a miss.
Cloudflare however returns the header with `MISS`:
```
CF-Cache-Status: miss
```
Contributor guide
Research direction
No file or test is named in the issue. Start by locating Miniflare's handling of CF-Cache-Status for cache misses, then add coverage showing that a miss returns CF-Cache-Status: MISS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100