Defyn Media Offload
Defyn Media Offload moves your WordPress media library to S3-compatible object storage and serves every image, video and document from a fast content delivery network (CDN), then optionally deletes the local copies so your site fits within strict host disk and storage limits. It works with Amazon S3
Defyn Media Offload moves your WordPress media library to S3-compatible object storage and serves every image, video and document from a fast content delivery network (CDN), then optionally deletes the local copies so your site fits within strict host disk and storage limits.
It works with Amazon S3, DigitalOcean Spaces, Cloudflare R2, Wasabi, Backblaze B2, Google Cloud Storage (in S3 mode), MinIO and any other S3-compatible object store. Offloading your uploads to cloud storage frees up server disk space, shrinks your backups, lowers bandwidth costs, and lets a global CDN deliver your images faster.
It was built for a large WooCommerce and multi-vendor marketplace on managed WordPress (where Jetpack’s image CDN virtualises some thumbnail sizes), so it is hardened against the edge cases that break naive media offload plugins.
Key features
- Automatic offload on upload, after all thumbnail sizes are generated, including front-end (vendor) uploads.
- Serves product images, galleries, variation images, responsive srcset , REST API URLs and content-embedded images from the CDN.
- Resumable, cursor-based bulk migration for very large libraries (survives dropped SSH sessions). WP-CLI is the supported path; a browser-driven runner and Action Scheduler background runner are also provided.
- Optional, decoupled “remove local” pass so migration and deletion stay safe and reversible.
- Optional mirror-delete: removing an attachment removes its objects from the store.
- Handles Jetpack “virtual” thumbnail sizes (skip-and-log, never stalls).
- WooCommerce downloadable/protected files are stored privately and served with time-limited signed URLs, never made public-read.
- Sends a long-lived, configurable Cache-Control header with public objects for efficient CDN and browser caching.
- Optional hourly auto-retry (WP-Cron) that offloads any pending or previously failed uploads in the background.
- Keeps the WordPress image editor working after local copies are removed: originals are fetched back from the store on demand for crop, rotate and thumbnail regeneration, then re-offloaded.