v2.1.3: Pipe resilience — retry logic, caching, optimized streaming

- Added pipeRequest() with retry + exponential backoff (3 attempts)
- Cached episodes (5min) and sources (10min) responses
- Confirmed kiwi/bonk CDNs serve real content, bee/ally serve decoys
- Updated version to 2.1.3 across package.json, health, OpenAPI
This commit is contained in:
Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ
2026-06-25 08:53:02 +05:30
parent 398db2b4f0
commit e35d934190
4 changed files with 94 additions and 36 deletions
+24
View File
@@ -1,5 +1,29 @@
# Changelog
## v2.1.3
### Pipe Resilience — Retry logic, caching, optimized streaming
#### Pipe Request Improvements
- Added `pipeRequest()` helper with retry logic and exponential backoff (3 attempts: 1s, 2s, 4s delays)
- Retries on 444 (Cloudflare rate limit) and connection reset errors
- Skips retry on non-retryable 4xx errors (except 444)
- Increased pipe request timeout from 15s to 20s
#### Caching
- `fetchRawEpisodes` now caches episode data for 5 minutes (was uncached)
- `getSources` now caches streaming sources for 10 minutes (was uncached)
- Subsequent calls for the same episode are instant (no pipe requests)
#### Streaming Pipeline
- Confirmed kiwi provider CDN (owocdn.top) serves real video content with CORS `*`
- Confirmed bonk provider CDN (vibeplayer.site) returns streams
- bee/ally CDNs serve decoy PNGs to server IPs (confirmed)
- Stream URLs returned as raw CDN URLs (browser loads directly)
- Subtitles proxied through `/api/proxy` for CORS bypass
#### Version Bump
- MiruroAPI v2.1.3 (package.json, health endpoint, OpenAPI spec)
## v2.1.2
### Streaming Architecture — pru proxy + raw CDN URLs