- Reduce cron frequency: changes 2min→4hr, keyword 15min→6hr, metrics hourly→daily - Add Prisma directUrl for connection pooling support - Add Vercel KV caching to /api/tools endpoint (graceful degradation if not configured) - Add X-Cache header to indicate cache hit/miss - Add NEON_COMPUTE_OPTIMIZATION.md with full strategy guide These changes should reduce Neon CU usage from 100+ to ~20-30 CU-hrs/month. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| .gitignore | ||
| eslint.config.mjs | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.js | ||
| RATE_LIMITING.md | ||
| RATE_LIMITING_SUMMARY.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vercel.json | ||
| vitest.config.ts | ||