CDN Mode
Understand when to keep WordPress images on a CDN instead of downloading them locally in PhantomWP.
CDN Mode
Use CDN mode when your WordPress site already serves media from a CDN plugin or CDN hostname and you want PhantomWP to keep those image URLs remote.
In CDN mode, PhantomWP does not download and localize WordPress images into your project. That keeps builds lighter and avoids duplicating assets that are already being optimized and delivered elsewhere.
When To Use CDN Mode
Choose CDN mode when:
- your WordPress site already rewrites media URLs to a CDN
- you want to keep images remote instead of bundling them into the repo
- faster builds and a smaller repository matter more than local image copies
When To Keep Local Mode
Keep local mode when:
- you want images committed with the project
- you want PhantomWP's current local image download and mapping flow
- you do not already have a CDN serving WordPress media
Popular Options
PhantomWP does not manage CDN plugins for you, but it can detect common CDN-served media URLs.
Detection
If PhantomWP detects a known CDN pattern in your WordPress media URLs, the WordPress modal will show the detected provider and let you keep using CDN-served images.
Next Steps
- Connecting WordPress - Set up or review your WordPress connection
- Image Optimization - Learn how local image handling works