Free WordPress plugin

CDNShark CDN for WordPress

Publish a post and the CDN shows it straight away. The plugin clears exactly the pages that changed, and gives WordPress back your visitors' real IP addresses.

The plugin is free. Your domain needs a CDNShark CDN plan.

Automatic purgeReal visitor IPWooCommerce safe

What It Does

Purges What Changed

Publish, update or delete a post, page or product and the plugin clears that page, the home page, your feeds and the category, tag and author pages it appears on. Comments and WooCommerce stock changes too.

Purge Everything

Automatically after theme, menu, widget or permalink changes and after updates, and with one click from the admin bar. It reaches every edge within 10–30 seconds.

Real Visitor IP

Login limiters, security and comment-spam plugins see each visitor's own address instead of the CDN's. Only trusted from CDNShark's published edge servers.

Logged-in Users Safe

The CDN never serves cached pages to logged-in users, shoppers with a WooCommerce cart or visitors who unlocked a protected post.

Set Up in 3 Steps

1
Put your domain on CDNShark

In the dashboard open CDN → Domains → Add Domain and choose a CDN plan. Point your nameservers to CDNShark, and in DNS Zone tick Is Proxy and Is Cached on your site's records.

2
Create a token

Open Developer Tools → API Tokens, tick only Cache purge and pick your domain. Copy the token: it is shown once, and it can do nothing except clear that domain's cache.

3
Install and connect

Install and activate the plugin, open Settings → CDNShark CDN, paste the token and save. The page confirms which domain the site is connected to.

Questions

Do I need a CDNShark plan?

Yes. The plugin is free, but it manages the cache of a domain that runs through the CDNShark CDN, so the domain needs a CDN plan.

Why a "Cache purge" token instead of a full API token?

The token is stored in your WordPress database. A Cache purge token can only clear the cache of the domains you picked: it cannot read or change anything else in your account.

How do I install the downloaded zip?

In WordPress open Plugins → Add New Plugin → Upload Plugin and choose the zip. If your host hides the upload button, unzip it and upload the cdnshark-cdn folder to wp-content/plugins/ over SFTP, then activate it under Plugins.

How fast is a purge?

Purges are sent as soon as you save, without slowing the editor down. Changed pages clear within seconds; "purge everything" reaches every edge within 10–30 seconds.

Does it rewrite my image and script URLs?

No. Your whole domain is served through CDNShark, so nothing needs rewriting.

Do I still need a caching plugin?

Not for the CDN. A page-cache plugin on your server can still help your origin answer faster; the two work together.

Stopping spam and login bots too? See SharkCaptcha for WordPress.

Your WordPress site, fresh on every edge.

Free plugin, set up in three steps.

Download the Plugin CDN Plans