|
|
30c5c077e5
|
Add cache service with hot cache and negative caching
Implements cache lookup with in-memory hot path, source/output storage,
negative caching for failed fetches, TTL expiration, and statistics tracking.
|
2026-01-08 03:35:55 -08:00 |
|
|
|
2f20c71da0
|
Add content-addressable storage and cache key generation
ContentStorage stores blobs at <dir>/<ab>/<cd>/<sha256> paths.
MetadataStorage stores JSON at <dir>/<host>/<path_hash>.json.
CacheKey generates unique keys from request parameters.
|
2026-01-08 03:35:50 -08:00 |
|
|
|
30d63e80dc
|
Add magic byte detection for image format validation
Implements format detection by checking file magic bytes for JPEG, PNG,
GIF, WebP, AVIF, and SVG. Includes validation against declared Content-Type.
|
2026-01-08 03:35:29 -08:00 |
|
|
|
cc2c40bfbf
|
Implement HMAC-SHA256 signature generation and verification
|
2026-01-08 03:02:09 -08:00 |
|
|
|
2b0ccd6052
|
Implement host whitelist for source domains
|
2026-01-08 03:00:53 -08:00 |
|
|
|
018c280267
|
Add ParseImagePath for chi wildcard and upstream fetcher with SSRF protection
|
2026-01-08 02:59:48 -08:00 |
|
|
|
c69ddf6f61
|
Implement URL parser for image proxy routes
|
2026-01-08 02:55:05 -08:00 |
|
|
|
827f9743b8
|
Add package and const block comments to imgcache
|
2026-01-08 02:29:25 -08:00 |
|
|
|
ef6e67e786
|
Add blank line before return in SourceURL
|
2026-01-08 02:23:23 -08:00 |
|
|
|
516853626d
|
Add basic webserver skeleton with healthcheck
|
2026-01-08 02:20:23 -08:00 |
|