CDN
The CDN (Content Delivery Network) tab allows you to enable accelerated content delivery for your website, improving load times for visitors worldwide.
What is a CDN?
A Content Delivery Network caches your website’s static content (images, CSS, JavaScript, fonts) on edge servers distributed globally. When visitors access your site, they receive content from the nearest edge server rather than your origin server, resulting in faster load times.
Benefits of CDN
- Faster Page Loads: Content served from edge servers closest to visitors
- Reduced Server Load: Static assets are cached, reducing origin server requests
- Better User Experience: Faster sites lead to lower bounce rates
- Bandwidth Savings: Cached content reduces origin bandwidth costs
- Global Reach: Consistent performance for visitors worldwide
Enabling CDN
- Navigate to the CDN tab in your site settings
- Toggle Enable CDN to on
- A unique CDN prefix will be auto-generated for your site
- Save your changes
After saving, you’ll see:
- CDN URL: The full URL for your CDN (e.g.,
https://abc123.cdn.atomicedge.io) - CDN Prefix: Your unique subdomain prefix
CDN URL
What it is: The unique URL assigned to your site’s CDN instance.
Format: https://{prefix}.cdn.atomicedge.io
Usage:
- WordPress sites: Configure in the Atomic Edge WordPress plugin
- Other sites: Use the CDN URL for static asset paths
CDN Prefix
What it is: Your unique subdomain identifier, auto-generated when CDN is enabled.
Format: 8-character alphanumeric string (e.g., abc12def)
Note: The prefix cannot be changed after generation. If you need a different prefix, disable CDN, save, then re-enable.
Cache Purging
When to Purge
Purge the CDN cache when you:
- Update CSS, JavaScript, or images
- Deploy new site version
- Fix cached errors
- Need immediate changes visible to visitors
How to Purge
- Go to the CDN tab
- Click Purge CDN Cache
- Confirm the action in the modal
- Wait for the purge to complete (usually 1-5 minutes)
Purge Rate Limiting
To prevent abuse and ensure system stability, cache purges are rate-limited:
- Cooldown: 5 minutes between purges
- Why: Excessive purging defeats caching benefits
Last Cache Purge: Shows when the cache was last purged (e.g., "5 minutes ago", "Yesterday").
CDN Optimization Settings
Brotli Compression
What it is: Modern compression algorithm that reduces file sizes better than gzip.
Default: Enabled (recommended)
Benefits:
- 15-25% smaller files compared to gzip
- Supported by all modern browsers
- Transparent – browsers handle decompression automatically
Image Optimization
What it is: Automatic optimization of images for faster loading.
Default: Disabled
When enabled:
- Images are compressed without visible quality loss
- WebP/AVIF formats served to supporting browsers
- Responsive images generated for different screen sizes
Note: Image optimization may slightly increase initial processing time.
Site Type
What it is: Tells the CDN what type of site you’re running for optimized caching rules.
| Options: | Type | Optimizations |
|---|---|---|
| WordPress | Optimized for wp-content, wp-includes caching | |
| Laravel | Optimized for public/, storage/ patterns | |
| Drupal 8+ | Optimized for sites/default/files patterns | |
| Static Site | Aggressive caching for all assets | |
| Other | Standard caching rules |
Recommendation: Select the correct site type for best performance.
Bandwidth Usage
The Bandwidth Usage section shows your CDN consumption:
- Current Period: Usage in the current billing cycle
- Historical Data: Graphs showing usage over time
- Plan Limits: Your bandwidth allowance vs. usage
WordPress Integration
For WordPress sites, use the Atomic Edge WordPress Plugin for seamless CDN integration:
- Install and activate the Atomic Edge plugin
- Connect with your API key
- Go to Settings → CDN
- Enable CDN integration
The plugin automatically:
- Rewrites asset URLs to use the CDN
- Handles cache busting for theme/plugin updates
- Provides one-click cache purging from WordPress admin
See API Integration for more details on the WordPress plugin.
Best Practices
- Enable Brotli compression – It’s free performance improvement
- Set correct site type – Ensures optimal caching rules
- Avoid excessive purging – Let the cache work for you
- Monitor bandwidth – Watch for unexpected usage spikes
- Test after purging – Verify changes are visible
Troubleshooting
CDN not serving content
- Verify CDN is enabled and saved
- Check that DNS is properly configured
- Confirm the CDN URL is being used in your site
- Wait a few minutes for cache to populate
Stale content after update
- Purge the CDN cache
- Clear your browser cache
- Wait 1-5 minutes for purge to complete
- Verify with an incognito/private browser window
Purge button doesn’t work
- You may have hit the rate limit (5 minute cooldown)
- Check the "Last Cache Purge" timestamp
- Wait and try again
Images not loading from CDN
- Check if image optimization is enabled/disabled as needed
- Verify the CDN URL is correctly configured
- Check browser console for errors
- Test the direct CDN URL in a new tab
Plan Limits
| Feature | Free | Pro | Enterprise |
|---|---|---|---|
| CDN Access | ✓ | ✓ | ✓ |
| Brotli Compression | ✓ | ✓ | ✓ |
| Image Optimization | ✓ | ✓ | ✓ |
| Bandwidth | Included | Included | Custom |
| Cache Purge | ✓ | ✓ | ✓ |
CDN is available on all plans with no additional configuration required.
Frequently Asked Questions
What is the CDN feature?
Content delivery network for static assetsThe CDN accelerates your website by serving static assets (images, CSS, JavaScript) from edge servers geographically closer to your visitors, reducing load times.
How do I enable the CDN?
Toggle in the CDN tabGo to your site settings, click the CDN tab, and enable the CDN toggle. Your static assets will then be served through our global edge network.
How do I purge the CDN cache?
Clear cached content instantlyIn the CDN tab, click the Purge Cache button to instantly invalidate all cached content. This is useful after updating your site’s static files.
What content does the CDN cache?
Static assets by defaultThe CDN caches static assets like images, CSS files, JavaScript files, and fonts. Dynamic content and HTML pages are typically fetched fresh from your origin.
Does the CDN work with WordPress?
WordPress plugin integrationYes. The Atomic Edge WordPress plugin can automatically rewrite your asset URLs to use the CDN. Enable CDN in the plugin settings after enabling it in the dashboard.
Will the CDN affect my SEO?
Performance benefits for search rankingsThe CDN improves page load speed, which is a positive ranking factor for search engines. Your content remains on your domain, so there are no SEO concerns with URL changes.
How do I check my CDN bandwidth usage?
View usage in the CDN tabThe CDN tab displays your bandwidth usage including data transferred through the CDN edge network. This helps you monitor your CDN consumption.
