mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-11-02 07:13:02 +00:00
Creates apps/docs-proxy/ - a new Cloudflare Worker that replaces the supermemory-docs-mintlify dashboard-deployed worker. Key improvements over the previous worker: - AbortController with 10-second timeout prevents indefinite hangs when Mintlify is slow (previous P99 reached 836 seconds) - Cache API (caches.default) caches successful GET responses for 5 minutes to reduce upstream load and improve response times - Returns 504 with a user-friendly message on timeout Worker proxies all requests to https://supermemory.mintlify.dev preserving original path, query string, method, headers, and body. Co-authored-by: Dhravya Shah <dhravya@supermemory.com>
15 lines
295 B
JSON
15 lines
295 B
JSON
{
|
|
"name": "@repo/docs-proxy",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "wrangler dev",
|
|
"deploy": "wrangler deploy --minify"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20250620.0",
|
|
"typescript": "^5.8.3",
|
|
"wrangler": "^4.4.0"
|
|
}
|
|
}
|