cachewarm
Cache-warming schedule and immediate queue entry service.
| Field | Value |
|---|
| Serverless service | drive-api-cachewarm |
| Runtime | nodejs22.x, arm64 |
| Region | us-east-1 |
| Deployed HTTP operations | 2 |
| Local worker harnesses | 0 |
| OpenAPI | /openapi/cachewarm.yaml · interactive |
Deployed routes
| Method | Path | Auth | Summary |
|---|
| POST | /cachewarm/schedule | API key | Persist a list of URLs as a cache-warm schedule |
| POST | /cache/warm | API key | Queue a list of URLs for immediate cache warming |
Behaviour notes
- This is the only drive-apig service deployed outside
ap-southeast-2.
POST /cachewarm/schedule persists URL schedules in DynamoDB and merges existing entries by URL key.
POST /cache/warm filters invalid URLs and URLs containing __trashed/, then queues valid URLs to SQS.
runCacheWarmSchedules is schedule-driven and cacheWarmProcess is SQS-driven; neither is a deployed HTTP route.
Source map
- services/cachewarm/serverless.yml
- services/cachewarm/functions/addScheduledCacheWarm.ts
- services/cachewarm/functions/cacheWarmQueue.ts
- services/cachewarm/functions/runCacheWarmSchedules.ts
- services/cachewarm/functions/cacheWarmProcess.ts