v2.4.2

cachewarm

Cache-warming schedule and immediate queue entry service.

FieldValue
Serverless servicedrive-api-cachewarm
Runtimenodejs22.x, arm64
Regionus-east-1
Deployed HTTP operations2
Local worker harnesses0
OpenAPI/openapi/cachewarm.yaml · interactive

Deployed routes

MethodPathAuthSummary
POST/cachewarm/scheduleAPI keyPersist a list of URLs as a cache-warm schedule
POST/cache/warmAPI keyQueue 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
Esc