Linux 软件免费装
Banner图

Super Page Cache for Cloudflare

开发者 optimole
salvatorefresta
isaumya
更新时间 2024年3月7日 19:39
PHP版本: 7.0 及以上
WordPress版本: 6.4
版权: GPLv2 or later
版权网址: 版权信息

标签

page caching cloudflare cache improve speed improve performance

下载

4.3.7 4.6.0 4.7.0 4.3.8 4.3.9 4.3.9.2 4.4.0 4.4.1 4.4.2 4.4.3 4.4.4 4.5.1 4.5.2 4.3.5 4.3.7.1 4.3.7.2 4.3.7.3 4.3.9.1 4.6.1 4.7.1 4.7.5 4.7.6 4.7.7 4.3.6 4.5 4.5.4 4.5.6 4.5.7 4.5.8 4.5.5 4.3.4.3 4.7.4 4.3.7.4 4.5.3 4.7.2 4.7.3

详情介绍:

Why Choose This Plugin? The Super Page Cache for Cloudflare plugin helps you to make your website blazing fast by taking the website caching to the next level. This plugin will help you to cache not only the static files (e.g. CSS, JS, images etc.) but also the HTML webpages generated by WordPress; both at server disk-level and to the global Cloudflare CDN. Moreover, this plugin works completely out of the box, all you need to do is provide your Cloudflare Account's API Key or API Token details and the plugin will do the rest. But if you are a curious/advanced user, there are detailed settings inside the plugin which you can tweak to make it work as you like. But for most users, you don't need to change any settings as this plugin will work perfectly with the default settings, out of the box. Unlike most caching plugin out there which only provides disk caching (i.e. the cached webpages will be served from your web-server), this plugin will cache your webpages and static files to the Cloudflare CDN, one of the fastest CDN networks in the world. With more than 200 CDN edge locations provided by Cloudflare, your webpage will be served from the nearest CDN location of the visitor, rather than sending the request to your web server which might be sitting on the other side of the world. This will reduce your website loading speed drastically thanks to taking advantage of the Cloudflare CDN, not only for the static files but also for the HTML webpages. Take a look at the review video below by IdeaSpot, which will give you a clear idea about the plugin before you install it. [youtube https://www.youtube.com/watch?v=c-U5Nw2xTj8] How does the plugin work? This plugin takes full advantage of the FREE Cloudflare Plan, so to use this plugin, you don't need a paid Cloudflare account. But if you like to use features like Cloudflare image optimization, WAF (Web Application Firewall) etc. then you have to pay for the Cloudflare Pro plan to enable those features in your Cloudflare account. The free Cloudflare plan allows you to enable a page cache by entering the Cache Everything page rule, greatly improving response times. However for dynamic websites such as Wordpress, it is not possible to use this page rule without running into problems as it is not possible to exclude critical web pages from the cache, the sessions for logged in users, ajax requests and much more. Thanks to this plugin all of this becomes possible. This plugin enable page caching on your website by taking advantage of either the Cloudflare Cache Everything page rule or using Cloudflare Worker. By default the Cloudflare Worker mode is disabled as it is not 100% free like the Cache Everything page rule. But you can enable it if you like. The Cloudflare Worker based solution will help you to have a clean page caching solution without any cache buster query string (/?swcfpc=1) for logged-in users. Moreover, you can also overwrite our default worker code to add your own custom login into it if you are an advanced user. You will be able to significantly improve the response times of your Wordpress website by taking advantage of the very fast Cloudflare cache also for HTML pages, saving a lot of bandwidth. The alternative to this plugin is to purchase and configure the Enterprise plan. Plugin Features Not just these, we are constantly working towards adding new useful features to the plugin all the time. So, your love and support is what keep us going. If you love using the plugin, please consider sharing your review in the review section. Important Notice If you are using this plugin in conjunction with other page caching plugins like WP Rocket, LiteSpeed Cache, W3 Total Cache etc. please ensure that the page caching feature is disabled on those plugins, as the page caching will be handled by this plugin only. While you can use those other plugins for your static assets (e.g. CSS, JS, images etc.) optimization. You can also use plugins like Autoptimize, Perfmatters, ShortPixel to optimize your static assets while using this plugin for page caching. This plugin do not provide any static assets optimization and we have no plans to support that in future as there are many great quality plugins that handle that matter very well. If you are an advanced user/developer, you will be pleased to know that this plugin is 100% jQuery free and compatible with all versions of Wordpress and all Wordpress themes. If you are using Kinsta as your hosting provider, this plugin works flawlessly with Kinsta's Server Level Caching and this plugin has also been thoroughly tested on Kinsta Servers to ensure it is fully compatible with Kinsta Server Caching. Moreover if you are using any hosting platform for whom we support their native server caching (i.e. Kinsta, WP Engine, SpinupWP etc.) you don't have to enable our fallback cache system, as you can use the native disk cache provided by your host instead of using our disk level fallback cache.

安装:

FROM YOUR WORDPRESS DASHBOARD
  1. Visit "Plugins" > Add New
  2. Search for Super Page Cache for Cloudflare
  3. Activate Super Page Cache for Cloudflare from your Plugins page.
FROM WORDPRESS.ORG
  1. Download Super Page Cache for Cloudflare
  2. Upload the "wp-cloudflare-super-page-cache" directory to your "/wp-content/plugins/" directory, using ftp, sftp, scp etc.
  3. Activate Super Page Cache for Cloudflare from your Plugins page.

屏幕截图:

  • This screen shot description corresponds to screenshot-2.jpg
  • This screen shot description corresponds to screenshot-3.jpg

升级注意事项:

Version 4.3.4
  • Please disable and re-enable the cache after upgrading.
Version 3.6.1
  • New update is available.

常见问题:

How this plugin is different from Cloudflare APO?

Cloudflare have launched Automatic Platform Optimization (APO) feature in 2020 which works with the default Cloudflare WordPress plugin. APO works by taking advantage of Cloudflare Workers & KV Storage. As APO uses KV to store the cached content, one of the feature it has is that when something is cached via APO, it instantly get pushed to all the Cloudflare edges around the world, even though no requests has came from that region. Our plugin is created to ensure even the Cloudflare FREE account users can take full advantage of Cloudflare CDN caching, so we provide both option (page rule based - which is the default mode) and the Worker based. Now Cloudflare Worker is not 100% free like the page rules so for very high traffic site, users might need to pay to use the Cloudflare Workers. That being said, CF APO costs 5$/month for free account holders and it is free for paid account users. But still it lacks many features, functionality and third-party plugin integration compared to our plugin. The feature and integration provided by our plugin is simply unmatched by APO. Currently we can't push the cache everywhere like APO but we are planning to do something similar in near future. If you are still curious, read this thread where you will find a detailed comparison with Cloudflare APO vs this plugin.

How do I know if everything is working properly?

To verify that everything is working properly, I invite you to check the HTTP response headers of the displayed page in Incognito mode (browse in private). Super Page Cache for Cloudflare returns two headers: x-wp-cf-super-cache If its value is cache, Super Page Cache for Cloudflare is active on the displayed page and the page cache is enabled. If no-cache, Super Page Cache for Cloudflare is active but the page cache is disabled for the displayed page. x-wp-cf-super-cache-active This header is present only if the previous header has the value cache. If its value is 1, the displayed page should have been placed in the Cloudflare cache. To find out if the page is returned from the cache, Cloudflare sets its header called cf-cache-status. If its value is HIT, the page has been returned from cache. If MISS, the page was not found in cache. Refresh the page. If BYPASS, the page was excluded from Super Page Cache for Cloudflare. If EXPIRED, the page was cached but the cache has expired.

Do you allow to bypass the cache for logged in users even on free plan?

Yes. This is the main purpose of this plugin.

What is the swcfpc query variabile I see to every internal links when I'm logged in?

It is a cache buster. Allows you, while logged in, to bypass the Cloudflare cache for pages that could be cached.

Do you automatically clean up the cache on website changes?

Yes, you can enable this option from the settings page.

Can I restore all Cloudflare settings as before the plugin activation?

Yes, there is a reset button.

What happens if I delete the plugin?

I advise you to disable the plugin before deleting it, to allow you to restore all the information on Cloudflare. Then you can proceed with the elimination. This plugin will delete all the data stored into the database so that your Wordpress installation remains clean.

What happens to the browser caching settings on Cloudflare?

You will not be able to use them anymore. However, there is an option to enable browser caching rules

Does it work with multisite?

Yes but it must be installed separately for each website in the network as each site requires an ad-hoc configuration and may also be part of different Cloudflare accounts.

Can I use this plugin together with other performance plugins such like Autoptimize, WP Rocket or W3 Total Cache?

Yes, you can. Read the FAQ section in the plugin settings page for further information

I have more questions or Something is not working, what can I do?

First check the questions mentioned in the FAQ tab inside the plugin settings page, as you will find most of the questions already answered there. If that still doesn't help, Enable the log mode and send us the log file and the steps to reproduce the issue. Make sure you are using the latest version of the plugin.

更新日志:

Version 4.7.7 (2024-03-07) Fixes Version 4.7.6 (2024-02-15) Fixes Version 4.7.5 (2023-10-30) Version 4.7.4 (2023-06-12) Version 4.7.3 (2023-02-02) Version 4.7.2 (2022-11-16) Version 4.7.1 (2022-11-15) Version 4.7.0 (2022-11-15) Version 4.6.1 (2022-05-27) Version 4.6.0 (2022-05-20) Version 4.5.8 (2022-02-09) Version 4.5.7 (2021-11-02) Version 4.5.6 (2021-10-28) Version 4.5.5 (2021-08-05) VERSION 4.5.4 (2021-08-04) VERSION 4.5.3 VERSION 4.5.2 VERSION 4.5.1 VERSION 4.5 VERSION 4.4.4 (11TH FEBRUARY 2021) VERSION 4.4.3 (11TH FEBRUARY 2021) VERSION 4.4.2 (25TH JANUARY 2021) VERSION 4.4.1 (25TH JANUARY 2021) VERSION 4.4.0 (10TH JANUARY 2021) VERSION 4.3.9.2 (2ST JANUARY 2021) VERSION 4.3.9.1 (1ST JANUARY 2021) VERSION 4.3.9 (31TH DECEMBER 2020) VERSION 4.3.8 (14TH DECEMBER 2020) VERSION 4.3.7.4 (1OTH DECEMBER 2020) VERSION 4.3.7.3 VERSION 4.3.7.2 If not, users who manage multiple cloudflare accounts from the same interface may have problems uploading or deleting the worker. VERSION 4.3.7.1 VERSION 4.3.7 VERSION 4.3.6 VERSION 4.3.5 VERSION 4.3.4.2 VERSION 4.3.4.1 VERSION 4.3.4 VERSION 4.3.3 VERSION 4.3.2 VERSION 4.3.1 VERSION 4.3.0 VERSION 4.2.9 VERSION 4.2.8 VERSION 4.2.7 VERSION 4.2.6 VERSION 4.2.4 VERSION Version 4.2.2 VERSION Version 4.2.1 VERSION Version 4.2 VERSION Version 4.1.4 VERSION Version 4.1.3 VERSION Version 4.1.2 VERSION Version 4.1.1 VERSION Version 4.1 VERSION Version 4.0.6 VERSION Version 4.0.5 VERSION Version 4.0.4 VERSION Version 4.0.3 VERSION Version 4.0.2 VERSION Version 4.0.1 VERSION Version 4.0 VERSION Version 3.8 VERSION Version 3.7.2 VERSION Version 3.7.1 VERSION Version 3.7 VERSION Version 3.6.1 VERSION Version 3.6 VERSION Version 3.5 VERSION Version 3.4 OLDER VERSIONS Version 1.5 - Added support for WooCommerce, filters and actions Version 1.6 - Added support for scheduled posts, cronjobs, robots.txt and Yoast sitemaps Version 1.7 - Little bugs fix Version 1.7.1 - Fixed little incompatibilities due to swcfpc parameter Version 1.7.2 - Added other cache exclusion options Version 1.7.3 - Add support for AMP pages Version 1.7.6 - Fixed little bugs Version 1.7.8 - Added support for robots.txt and sitemaps generated by Yoast. Added a link to admin toolbar to purge cache fastly. Added custom header "Wp-cf-super-cache" for debug purposes Version 1.8 - Solved some incompatibility with WP SES - Thanks to Davide Prevosto Version 1.8.1 - Added support for other WooCommerce page types and AJAX requests Version 1.8.4 - Fixed little bugs Version 1.8.5 - Added support for subdomains Version 1.8.7 - Prevent 304 response code Version 2.0 - Database optimization and added support for browser cache-control max-age Version 2.1 - Fixed warning on line 1200 Version 2.3 - Added support for wildcard URLs Version 2.4 - Added support for pagination (thanks to Davide Prevosto) Version 2.5 - Fixed little bugs and added support for Gutenberg editor Version 2.6 - Auto-purge cache when edit posts/pages using Elementor and fix the warning on purge_cache_on_post_published Version 2.7 - Fixed a little bug when calling purge_cache_on_post_published Version 2.8 - Fixed the last warning Version 3.0 - Improved the UX interface, added browser caching option and added support for htaccess so that it is possible to improve the coexistence of this plugin with other performance plugins. Version 3.1 - Fixed PHP warning implode() for option Prevent the following urls to be cached Version 3.2 - Improved cache-control flow via htaccess Version 3.3 - Fixed missing checks in backend