Organization/Overview

CMS & Framework Integrations

Connect zevcdn to WordPress, WooCommerce, Laravel, Next.js, and Magento for automated asset rewriting and instant cache purging.

Official WordPress & WooCommerce Plugin

zevcdn for WordPress v1.0.0

Automate asset URL rewrites for wp-content/uploads/, wp-includes/, and theme CSS/JS. Includes instant cache invalidation on post edits, WooCommerce product updates, and comment approvals.

Automatic Asset URL Rewriting
WooCommerce Auto-Purge Webhooks
Sub-200ms NATS Invalidation

WordPress functions.php Auto-Purge Hook

Add this lightweight snippet to your theme's functions.php file to auto-purge zevcdn cache on post publish.

<?php
// zevcdn WordPress Auto-Purge Hook for functions.php
add_action('save_post', function($post_id) {
    if (wp_is_post_revision($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, '/']]),
    ]);
});

Next.js & React Asset Prefix Integration

Configure next.config.js to serve static assets, JS chunks, and images via zevcdn POPs in production.

// next.config.js
module.exports = {
  assetPrefix: process.env.NODE_ENV === 'production' 
    ? 'https://my-store.zevcdn.net' 
    : '',
};
PHP / Laravel

Laravel Framework

Configure ZEVCDN_DOMAIN in .env for Blade static URL helper generation.

Ecommerce

Magento 2 / Adobe Commerce

Set static content signing domain to zevcdn Anycast POP hostname.

Shopify

Shopify Custom Domain

CNAME alias proxy setup for ultra-fast product image delivery.