Want to skyrocket the popularity of your plugin and reach millions of eager users? Look no further than WP Hive. Gain credibility through in-depth reviews, drive conversions with targeted email marketing, and boost visibility with strategic social promotion and exposure
Sorry, pal! The plugin couldn’t pass all our tests. No hard feelings, right?
Tests done by WP Hive test script Results
Minimal impact on memory usage The memory usage of this plugin is less than the average memory usage of other plugins on WordPress.org + 200KB. Check FAQ for more.
Minimal impact on pagespeed The impact of this plugin on PageSpeed is less than the average impact of other plugins on WordPress.org + 1000 milliseconds
No PHP errors, warning, notices WP Hive automated test found PHP error/s while activating this plugin on our server
No Javascript issues WP Hive automated test found no JavaScrip error while activating this plugin on our server
Latest PHP 7.2.16 compatible WP Hive automated test found some warnings/errors while testing it with the latest version of PHP. They may/may not cause any issues. You are advised to test yourself
Latest WordPress 5.4 compatible WP Hive automated test found that the plugin may not be fully compatible due to PHP warnings, latest version of PHP\'s compatibility. However, this is an automated test and plugin maybe fully compatible. You are advised to test yourself
Optimized database footprint The plugin creates less than 50 database tables
No activation errors WP Hive automated test found no activation error while activating this plugin on our server
No resource errors WP Hive automated test found no resource error/s while trying this plugin on our server
Frequently updated The plugin was not updated at least once in the last 90 days
All the plugins are tested on the same server with exactly same configuration via test script that automatically activates and logs the data WP Hive shows.
All the scripts run on a VPS with 8 CPU cores and 8 GB of RAM.
The test sites are hosted on Google Cloud VM instances, one site/plugin per instance. The machine type is n1-standard-1. The server is a 8 core CPU with 8GB of RAM.
The test sites are hosted on Apache/2 server and they are tested on PHP 7.2.16 & WordPress 5.4.
The database server is MySQL 8.0.15 and the default PHP memory limit is 256MB.
Disclosure: When you buy through affiliate links on this site, WP Hive may earn a commission which we use to keep the site running. Learn more →
About Full Site Cache for KeyCDN
Description
NOTE: This is an unofficial plugin. This plugin can help you to use KeyCDN on your WordPress, not only your Media and CSS, but also all HTML page. It is much faster than other cache plugins because it can cache the content on the KeyCDN’s Edge Servers, which are close to the end-user. This plugins can automatically purge the page....
NOTE: This is an unofficial plugin.
This plugin can help you to use KeyCDN on your WordPress, not only your Media and CSS, but also all HTML page. It is much faster than other cache plugins because it can cache the content on the KeyCDN’s Edge Servers, which are close to the end-user. This plugins can automatically purge the page (and also the homepage, archive page, tag page, category page, feed, sitemap) when you publish a page or post.
Video – install and enable it within 3 minutes:
The website of this plugin (also is an example website using this plugin): keycdn.tlo.one
This plugin only cache the content on the KeyCDN’s Edge Servers but not on your origin server, so if you install another cache plugin and use both of them, can improve performance. Now this plugin only works well with Cache Enabler – WordPress Cache.
Contribute to this plugin
The author @ze3kr is not using KeyCDN and this plugin anymore, so it’s hard for @ze3kr to maintain this plugin. If any developer wants to contribute to this plugin, please leave your message here.
Features
This plugin support those features even if your server doesn’t support it, works well with shared hosting.
Faster than other caching plugins
SSL (HTTPS) with Let’s Encrypt FREE SSL
HTTP/2 with HPACK
GZIP
CDN (Layer 7 proxy)
Hide origin IP and prevent DDOS attack to your server (Suggest using CloudFlare for the wp-admin doamin, and change your IP address, see it in “IP White List” section).
Compare it with CloudFlare
The CloudFlare also can give you CDN, SSL and HTTP/2 support, but there’s something KeyCDN can but CloudFlare free plan cannot:
Cache HTML page, that means all the HTML page on CloudFlare is not cacheable and the request will bypass your origin server.
Use custom SSL certificate, including EV certificate.
Use CNAME and doesn’t need to change NS server.
Raw log forwarding in real time (CloudFlare has 24 hours delay for free plan)
Clear Cache by Tag
However, KeyCDN is not a free service but a pay-as-you-go service, KeyCDN is a affordable choice. And CloudFlare is also a very good DNS provider, you can still use it.
Requirements
PHP 5.4+ (PHP 5.6+ is recommended)
WordPress 4.4+
Disable all others cache plugin and use Cache Enabler instead (Optional).
KeyCDN account, sign up by this link and get 250GB of free traffic.
Manual Setup
You can set it up manually, and use an existing Zone, only if you want to manual setup, you need to do this.
Note: This plugin doesn’t support root domain like example.com, you have to change settings before use it.
1. Setup this plugin
Add the configuration code to your wp-config.php file in wp-config.phpabove the line reading /* That’s all, stop editing! Happy blogging. */.
You can get those configuration in the settings page of this plugin by click “Generate Configuration (for Manual Setup)” button.
Example configuration:
$fsckeycdn_useHTTPS = false; // Change it to true if your server support HTTPS.
$fsckeycdn_x_pull_key = 'KeyCDN'; // By default is `KeyCDN`, to make your server more secure, change it to a random 15 alphameric key, and update KeyCDN Zone settings.
$fsckeycdn_apikey = 'vHlnpHcE6GPEWyTWWisr4hE9e80Xvr4a'; // You can find your key at here https://app.keycdn.com/users/authSettings
$fsckeycdn_id = [
1 => 10001,
2 => 10002,
3 => 10003,
]; // The key (1, 2, 3) is blog id. the value (10001, 10002, 10003) is KeyCDN Zone ID.
// $fsckeycdn_id = "10001"; // Use this line instead of above if you doesn't use multisite.
Then add a require_once function just below the variables just add, that need to run before evey plugin, to identify the server is KeyCDN or not.
require_once(ABSPATH . 'wp-content/plugins/full-site-cache-kc/include.php'); // This plugin need run some scripts before everything, so you need to add this, if you use a different location for plugins, change it.
After that, you can enable this plugin.
2. Setup DNS and Change Siteurl
You need to use a domain like www.example.com or blog.example.com but not root domain like example.com, because you need to create a CNAME on that domain.
If you are using domain like www.example.com, you need to create a DNS at wp-admin.example.com that point to your server.
If you are using domain like blog.example.com, you need to create a DNS at wp-admin-blog.example.com that point to your server.
Example BIND DNS file for root domain:
example.com 300 IN A
www.example.com 300 IN CNAME -.kxcdn.com
wp-admin.example.com 300 IN A
After you setted up, you need to go to the new host to visit WordPress dashboard.
And you need to change Siteurl to the new domain, keep Home URL not change. Example: Siteurl is wp-admin.example.com and Homeurl is www.example.com. Or Siteurl is wp-admin-blog.example.com and Homeurl is blog.example.com.
And if you need to edit your post, or go to the dashboard, you need to goto wp-admin.example.com/wp-admin/ or wp-admin-blog.example.com/wp-admin/
3. Setup KeyCDN
You need to add a Pull Zone in KeyCDN, and set Origin URL to http(s)://wp-admin.example.com, set SSL to Letsencrypt (You can get free SSL support!), enable Cache Cookies, Strip Cookies and Forward Host Header. Set Expire (in minutes) to 0 and set Max Expire (in minutes) to 1440 or bigger, and make sure to disable CORS.
Advance Options
Default Zone Options
You can add $fsckeycdn_default_settings variable as a array in wp-config.php to replace the default value of KeyCDN Zone.
By default online setup will enable this feature, this make X-Pull Key more secure, especially for multisite.
This feature can generate different X-Pull Key for each domain, even if you enable Forward Host Header, it can prevent visitor visit your site using another domain.
You can custom your CDN domain, it’s a specific domain that only for Images, CSS and JS.
Just add this in the wp-config.php.
$fsckeycdn_cdn_domain = 'cdn.example.com';
Extra Settings For CloudFlare
You need to do some Extra Settings For CloudFlare after you actived KeyCDN. If you are using CloudFlare and KeyCDN, you might set your DNS like that, [CF] means this domain enabled CloudFlare Proxy, and others means DNS only. Note: You need to disable CloudFlare on KeyCDN domain to ensure make HTML cache available:
example.com 300 IN A [CF]
www.example.com 300 IN CNAME -.kxcdn.com
wp-admin.example.com 300 IN A [CF]
[key].example.com 300 IN A
The key is a random value, keep it like your origin IP.
And add the configuration code to wp-config.php, and aboverequire_once (Optional, use this feature can make sure even if others has your origin IP, the request direct to your origin server will reject by this plugin.):
$fsckeycdn_ip_white_list = [
'103.21.244.0/22',
'103.22.200.0/22',
'103.31.4.0/22',
'104.16.0.0/12',
'108.162.192.0/18',
'131.0.72.0/22',
'141.101.64.0/18',
'162.158.0.0/15',
'172.64.0.0/13',
'173.245.48.0/20',
'188.114.96.0/20',
'190.93.240.0/20',
'197.234.240.0/22',
'198.41.128.0/17',
'199.27.128.0/21',
]; // This is CloudFlare's IP.
$fsckeycdn_ipv6_white_list = [
'2400:cb00::/32',
'2405:8100::/32',
'2405:b500::/32',
'2606:4700::/32',
'2803:f800::/32'
]; // This is CloudFlare's IPv6.
$fsckeycdn_client_ip = $_SERVER['REMOTE_ADDR']; // The IP for CloudFlare, if it doesn’t work, please try `end(explode(', ',$_SERVER['HTTP_X_FORWARDED_FOR']))`
$fsckeycdn_client_real_ip = $_SERVER['HTTP_CF_CONNECTING_IP']; // The IP for real client (Optional)
Then, go to KeyCDN Zone settings page, change “Origin URL” to http(s)://[key].example.com, disabled “Origin Shield” and enable “Forward Host Header”.
About Purge
This plugin will purge all page that need to be purge, but when your customized your theme or changed your theme, you need to purge your site manually. go to the settings page and you can find purge button.
You can set $fsckeycdn_purge to change purge type.
1. Purge that page and every archive page when a post/page published (Recommend, default).
2. Purge whole blog (not include css, js and image) when a post/page published.
3. Purge all page that need to be purge (Beta).
4. Only purge that page when a post/page published.
5. Do nothing when a post/page published.
Example:
$fsckeycdn_purge = 3;
About “Cache Enabler” plugin
This plugin only cache the content on the KeyCDN’s Edge Servers but not on your origin server, so if you install another cache plugin and use both of them, can improve performance. Now this plugin only works well with Cache Enabler – WordPress Cache.
If you click “Clear Cache” on the admin bar, it will automatically clear KeyCDN Tag and also clear the cache of “Cache Enabler” plugin.
And if you change “Cache Behavior” in the settings page of “Cache Enabler”, it will also effect WP KeyCDN cache behavior.
Extra Settings For Root Domain
You will get an error if you trying to enable it for root domain, whatever you setup manually or not.
To solve this problem, you need to change your domain beginning with www., for example, if your blog domain is example.com, you have to change it to www.example.com.
However, you are still able to use root domain if your DNS provider supports ANAME record (or CNAME Flattening), for example, CloudFlare supports this feature, so you can set a CNAME record on your root domain and won’t get any error! The version 2.2.0 brings this feature, you need to add this line to your wp-config.php:
`
$fsckeycdn_root_domain_setup = true;
`
For NOT Multisite Installed
Go to general settings page, change WordPress Address and Site Address to the new domain.
For Multisite Installed
If you NOT use subdomain install, pleace see this page to find out how to move WordPress multisite to a new URL.
If you use subdomain install, I suggest you create a new blog and that blog’s domain is beginning with www., for example, your have a network blog which use domain example.com, and you create a another blog which use domain www.example.com. Then input the content from the old blog which use domain example.com, and enable this plugin for the new blog.
After you add require_once function in wp-config.php, it will automatically redirect the old blog to new bog, and not effect with admin page.
How to fully disable this plugin
It will disable KeyCDN for ALL blogs if you are using Multisite.
1. Remove the configurations
You need to remove the lines that you added in wp-config.php file. And you MUST remove these line before your delete this plugin.
/* Start WP KeyCDN code */
Some codes……
/* End WP KeyCDN code */
2. Delete this plugin
It’s optional.
3. Change the Siteurl
Use Search Replace DB, replace ://wp-admin. to ://www., and ://wp-admin- to ://.
How to disable A blog in Multisite
Just add this codes to wp-config.php
$fsckeycdn_id[1] = false;
You need to add this line after the $fsckeycdn_id if you use Manual Setup. Change 1 to your blog ID that need to disabled.
Known Issues
If you set a password to a post/page, it may cannot view by visitors even if they has password.
We found the following errors while activating the plugin. Read more how WP Hive generates this data.
[12-Apr-2020 12:01:45 UTC] PHP Notice: Undefined variable: fsckeycdn_apikey in /wp-content/plugins/full-site-cache-kc/full-site-cache-kc.php on line 54
[12-Apr-2020 12:01:45 UTC] PHP Warning: Use of undefined constant DISABLE_WP_CRON - assumed 'DISABLE_WP_CRON' (this will throw an Error in a future version of PHP) in /wp-content/plugins/full-site-cache-kc/full-site-cache-kc.php on line 65
[12-Apr-2020 12:01:45 UTC] PHP Notice: Undefined variable: fsckeycdn_apikey in /wp-content/plugins/full-site-cache-kc/full-site-cache-kc.php on line 54
Show Off Your Plugin
PHP 7.2.16
Powered by WP Hive
WP 5.4
Powered by WP Hive
PHP 7.2.16
WP 5.4
Love using this plugin?
Why don’t you compare the plugin side by side with another plugin
Want to skyrocket the popularity of your plugin and reach millions of eager users? Look no further than WP Hive. Gain credibility through in-depth reviews, drive conversions with targeted email marketing, and boost visibility with strategic social promotion and exposure
Subscribe to get more quality reviews and articles.
Be Part of the Conversation with WordPress Enthusiasts
Using Full Site Cache for KeyCD...? Great, join the conversation now!
Let’s talk about overall quality, ease of use, stellar support, unbeatable value, and the amazing experience Full Site Cache for KeyCD... brings to you.
Changelog
Please Share:
Please Allow Us A Moment Before You Go
Subscribe to our weekly newsletter to get exclusive WordPress toturials, updates and pillar content directly in your inbox.
Be Part of the Conversation with WordPress Enthusiasts
Using Full Site Cache for KeyCD...? Great, join the conversation now!
Let’s talk about overall quality, ease of use, stellar support, unbeatable value, and the amazing experience Full Site Cache for KeyCD... brings to you.