1min.

1MIN · PRODUCTION ENGINEERING

Vercel Blob can expire temporary files after upload

Vercel Blob now accepts a lifetime of one to 730 days when writing a file, allowing temporary exports or uploads to expire automatically. Write results and metadata expose an expiry time, and existing blobs can have their lifetime changed or cleared without uploading again. The deadline is calculated from the original upload date, not the date of a later lifetime change.

Vercel · Nov 17, 2026

Why it matters

Object lifecycle rules can replace a separate cleanup job, provided the application understands how expiry is calculated.

More context

Use @vercel/blob 2.9.0 or Vercel CLI 65.16.0+. Try a temporary object with ttlDays, inspect expiresAt, and test setTtl before applying retention to existing files. The setting works across normal writes, copies, image writes, multipart uploads and presigned uploads.

Keep in mind

Released feature. Setting a lifetime costs one Advanced Operation per started 60 days, in addition to the write; clearing it and deletion are free. This is object expiry, not a verified guarantee about backups or legal retention obligations.

Original read

More engineering ideas, one minute at a time.

Explore more stories