Defyn Media Offload
Offload WordPress media to Amazon S3, DigitalOcean Spaces, Wasabi, Cloudflare R2 or MinIO, serve images from a CDN, and reclaim server disk space.
Use with caution
Defyn Media Offload works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 49/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.1 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Defyn Media Offload stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cdn | >100 |
| cloud storage | >100 |
| digitalocean spaces | #37 |
| media offload | #40 |
| s3 | >100 |
About Defyn Media Offload
From the official readme · v1.0.0Description
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 never made public-read.
- Works with the AWS SDK for PHP v3, namespace-isolated with php-scoper so it never conflicts with other plugins’ bundled AWS SDK.
Configuration
For best security, define credentials as constants in wp-config.php:
define( 'OSMO_KEY', 'your-access-key' );
define( 'OSMO_SECRET', 'your-secret-key' );
define( 'OSMO_BUCKET', 'your-bucket' );
define( 'OSMO_REGION', 'syd1' );
define( 'OSMO_ENDPOINT', 'https://syd1.digitaloceanspaces.com' );
define( 'OSMO_CDN', 'https://cdn.example.com' );
Otherwise enter them on Media → Media Offload.
External services
This plugin connects to one external service: the S3-compatible object storage
endpoint that you configure (for example DigitalOcean Spaces, Amazon S3,
Wasabi, or a self-hosted MinIO server). It is used to store and serve your media
files.
- What is sent, and when: when you upload media (or run a migration), the media
files and their object keys (the uploads-relative path, e.g.
2026/06/image.jpg) are uploaded to the bucket you configured, using the
access key and secret you provide. URL rewriting and verification read object
keys back from the same bucket. - The plugin does not contact any other server. It does not collect analytics,
telemetry, or usage data, and it never “phones home” to the author. - You must supply your own credentials and accept the terms and privacy policy
of whichever storage provider you choose. DigitalOcean Spaces:
https://www.digitalocean.com/legal/terms-of-service-agreement /
https://www.digitalocean.com/legal/privacy-policy . Amazon S3:
https://aws.amazon.com/service-terms/ / https://aws.amazon.com/privacy/ .
Third-party libraries
This plugin bundles the AWS SDK for PHP v3 (Apache License 2.0, GPL-compatible)
and its dependencies (Guzzle, PSR interfaces, JMESPath, Symfony polyfills). The
SDK is namespace-isolated under OSMO\Vendor\ using php-scoper so it never
conflicts with an AWS SDK bundled by another plugin. This is namespacing, not
obfuscation, and the bundled PHP remains fully human-readable.
The full source code and the build tooling (composer.json, scoper.inc.php,
build.sh, and the post-scope patch helpers in bin/) are available so the bundled
vendor/ directory can be reproduced from scratch with bash build.sh.
Installation
- Build the bundled AWS SDK once (developer step): run
composer installthenbash build.shin the plugin directory. Release ZIPs already include the scopedvendor/directory. - Upload the plugin to
wp-content/plugins/and activate it. - Go to Media → Media Offload, enter your credentials (or define the
OSMO_*constants), and click Test connection. - Run the bulk migration:
wp osmo offload --all, verify withwp osmo verify, then optionallywp osmo remove-local --all.
Frequently asked questions
Does it work with DigitalOcean Spaces?
Yes. Set the region (e.g. syd1), the endpoint (https://syd1.digitaloceanspaces.com) and your CDN base. Any S3-compatible store works.
Will it break Jetpack / WordPress.com image handling?
Turn off Jetpack’s Site Accelerator (image CDN) so real thumbnail files exist to offload. The plugin also detects Jetpack “virtual” sizes and skips them rather than stalling. Only this plugin rewrites image URLs.
Is removing local files reversible?
The objects remain in your store, and wp osmo / the admin can re-download them. Keep backups until you are confident.
What about WooCommerce downloadable products?
Protected download files are stored with a private ACL and continue to serve through WooCommerce locally; they are never exposed public-read.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Defyn Media Offload alternatives
All cdn plugins →FAQ
Defyn Media Offload: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 8, 2026
Is Defyn Media Offload free?
Yes. Defyn Media Offload is free to download and use from the official WordPress.org plugin directory.
Is Defyn Media Offload safe to use in 2026?
Defyn Media Offload works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 49/100 on our health check.
How many websites use Defyn Media Offload?
Defyn Media Offload is active on <10 WordPress websites and has been downloaded 423 times since it launched in June 2026. It was downloaded 98 times in the last 30 days.
Does Defyn Media Offload work with WordPress 7.1?
Defyn Media Offload is officially tested up to WordPress 7.0.7, while the latest release is 7.1.3. It may still work, but try it on a staging site first.
What PHP version does Defyn Media Offload need?
Defyn Media Offload requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Defyn Media Offload last updated?
The latest version, 1.0.0, was released on June 26, 2026 (3 months ago).
Who makes Defyn Media Offload?
Defyn Media Offload is developed and maintained by Defyn.
What are the best alternatives to Defyn Media Offload?
The most popular alternatives to Defyn Media Offload are W3 Total Cache (900K+ installs), SpeedyCache (600K+ installs) and Breeze Cache (300K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card