Platform & CMS Integrations
Connect ZevCdn to WordPress, WooCommerce, Next.js, Laravel, Shopify, and Magento in under 2 minutes.
ZevCdn for WordPress
Version 1.0.0 · Free & Open Source · Tested up to WP 6.7
Accelerate your WordPress or WooCommerce store with zero coding. Automatically rewrites all media, theme CSS/JS, and uploads to your ZevCdn edge hostname with automated sub-200ms cache clearing on every post or product update.
Ready to install via WordPress Admin → Plugins → Add New → Upload Plugin.
Download ZevCdn.zipIn WordPress Admin, go to Plugins → Add New → Upload and choose zevcdn.zip.
Open Settings → ZevCdn and enter your pull zone URL (e.g. https://my-store.zevcdn.net).
Paste your API Token from the dashboard to enable instant cache clearance when posts or products are updated.
Developer Snippets & Framework Setup
Choose your framework below for ready-to-use configuration files and cache purge hooks.
functions.php Lightweight Auto-Purge Snippet
If you prefer not using a plugin, drop this code into your active theme's functions.php.
<?php
// ZevCdn WordPress Auto-Purge Hook for functions.php
add_action('save_post', function($post_id) {
if (wp_is_post_revision($post_id) || wp_is_post_autosave($post_id)) return;
$path = parse_url(get_permalink($post_id), PHP_URL_PATH);
wp_remote_post('https://zevcdn.com/v1/zones/YOUR_ZONE_ID/purge', [
'headers' => [
'Authorization' => 'Bearer cdn_live_YOUR_API_KEY',
'Content-Type' => 'application/json',
],
'body' => json_encode(['type' => 'url', 'targets' => [$path, '/']]),
'timeout' => 5,
'blocking' => false,
]);
});