Update TODO.md with completed caching layer items

This commit is contained in:
2026-01-08 03:36:05 -08:00
parent 6d32b7ee23
commit b14c897408

24
TODO.md
View File

@@ -24,20 +24,20 @@ A single linear checklist of tasks to implement the complete pixa caching image
- [x] Implement HMAC-SHA256 signature generation - [x] Implement HMAC-SHA256 signature generation
- [x] Implement HMAC-SHA256 signature verification - [x] Implement HMAC-SHA256 signature verification
- [x] Implement signature expiration checking - [x] Implement signature expiration checking
- [ ] Implement upstream fetch with timeout and size limits - [x] Implement upstream fetch with timeout and size limits
- [ ] Implement Content-Type validation (whitelist MIME types) - [x] Implement Content-Type validation (whitelist MIME types)
- [ ] Implement magic byte verification - [x] Implement magic byte verification
## Caching Layer ## Caching Layer
- [ ] Design and create SQLite schema for cache metadata - [x] Design and create SQLite schema for cache metadata
- [ ] Implement source content storage (`cache/src-content/<hash>`) - [x] Implement source content storage (`cache/src-content/<hash>`)
- [ ] Implement source metadata storage (`cache/src-metadata/<host>/<hash>.json`) - [x] Implement source metadata storage (`cache/src-metadata/<host>/<hash>.json`)
- [ ] Implement output content storage (`cache/dst-content/<hash>`) - [x] Implement output content storage (`cache/dst-content/<hash>`)
- [ ] Implement cache key generation - [x] Implement cache key generation
- [ ] Implement cache lookup (in-memory hot path) - [x] Implement cache lookup (in-memory hot path)
- [ ] Implement cache write - [x] Implement cache write
- [ ] Implement negative caching (404s) - [x] Implement negative caching (404s)
- [ ] Implement cache TTL and expiration - [x] Implement cache TTL and expiration
- [ ] Implement cache size management/eviction - [ ] Implement cache size management/eviction
## Image Processing ## Image Processing