Hi,
I have a couple of questions:
a) Is there any issue using your this plug in with other cache plugins like WPRocket, etc..?
b) What about the dynamic content like comments? are they still working?
c) I have a WordPress site that it is completely updated every 5 minutes. Will this plug in still be useful for javascripts & Css files?
Thank you in advance,
Redpixel
Hello,
Thank you so much for this amazing contribution you are doing. Started looking at CF workers a while back, but this seemed over my knowledge and thanks to you it might not be the case anymore!
As per below tutorials, would like to give that HTML edge cache a try:
https://www.tutorialcup.com/wordpress/cloudflare-worker-wordpress.htm
https://www.krome.sg/blog/wordpress-plugin-and-cloudflare-worker-quick-guide/
However I am a bit confused because there are 2 plugins. This one and Cloudflare Page Cache. Do I need both?
I use SG Optimizer + WP-Rocket + RocketCDN (Stackpath) + CF with Woocommerce & gravityforms. Reading the support topics, it shouldn’t cause issues hopefully, but as I do not have a staging website to test that on first, if there are any obvious mistakes that I could avoid prior to start, would be awesome to have your feedback on that!
My CF has the regular page rules (not enterprise plan) to cache everything and bypass it for backend, WC account pages, shopping cart etc…
Thank you so much for your confirmation!
Best regards
]]>Mind to other optimization lurkers like me that got stuck with CF-Cache-Status: DYNAMIC
after installing and setting up everything as described.
Installing this and the other “page cache” plugin, and uploading the Worker script into CF (free) wasn’t enough to make it work for me. I also had to add a “cache-everything” Page Rule in CF:
Page Rule for domain.com
URL matches: *domain.com/*
Cache Level -- Cache Everything
With certain plugins (like WP-Rocket) the above setting isn’t enough, and one may need to insert yet another setting to that same rule above:
Edge Cache TTL -- 2 hours
(or more)
If not much at home with the Chrome’s Dev Console, can easily test if the response headers are as they should by opening a “Private Mode” window and checking this online tool over here:
https://www.webconfs.com
And how to measure speed improvements (mainly FBT), according a tool from the lead developer of the CF Worker script (Patrick Meenan):
HTH.
]]>Will it purge through API or KV even if using workers KV?
Would be ideal if it only purges HTML cache and not static cache if not needed.
Does it synchronize with other cache plugin auto-purge or purge the specific page if changed etc?
Hi – Thanks for a wonderful plugin!
Upon installing and configuring it, am I supposed to see some Workers present in the Cloudflare settings page?
Right now, I don’t see anything: https://i.imgur.com/ruVzphi.png
However, the following header is present when viewing the page in incognito:
x-html-edge-cache: cache,bypass-cookies=wp-|wordpress|comment_|woocommerce_
Am I doing something wrong?
Regards,
Bhagwad
Hi guys,
Thank you for very good plugins.
If I using other plugins that call CF to purge.
Do I still need to keep this plugins after setup Worker already?
Thank you.
]]>I noticed the browser makes 2 extra requests every page load with this plugin:
/wp-content/plugins/edge-cache-html-cloudflare-workers/public/css/cloudflare-edge-cache-public.css
/wp-content/plugins/edge-cache-html-cloudflare-workers/public/js/cloudflare-edge-cache-public.js
They have basically nothing in them. Is that really necessary? It seems detrimental to page load performance.
Thanks for your help!
]]>Can you provide a bit more detail in the plugin description/FAQ?
How do I know if this is working or not working? What exactly his happening behind the scenes?
Does this Cloudflare Page Cache Plugin you refer to, need to be installed or does this plugin do that automatically?
Should I also have other page caching installed?
Thanks.
]]>I’m using this plugin, and I don’t see any workers or routes created. It’s working well it seems, and bypasses the cache (somehow) for logged-in users, which I was looking for, without cookie-bypass page rules that are only avail on the $200/mo Cloudflare Business plan.
Is it really using workers or just Cache Everything page rules? How is it bypassing the cache, without using cookie-bypass?
]]>Hello,
This seems very promising. Would it work a WordPress Multisite? (the native network feature)
Is it optimized for it? (doesn’t create a whole bunch of tables per site)
Thanks!
]]>Hello,
so, we tried your plugin. It was working great, for one hour. Then we started to get message from Cloudflare that we are at 80% of our free limits of requests which is 100k. So at 3 am, I disabled both CF plugins in WordPress, cleared cache and went to sleep. At 10 am when I woke up, I discovered that our site was down for 7 hours (we have 1000 users per hour so that is a BIG problem).
1. you should CLEARLY state how to properly uninstall it and that you must remove the worker also in Cloudflare
2. I am checking the stats right now and even though I would love to use your plugin, it is not possible because we would be at 30M requests per month.
There is 180k requests and only 3k of them are cached. I suppose that the worker is not set up correctly because there is no need to cache absolutely everything which is not even used and cached but takes the requests from our Cloudflare limit.
Can you please check it and if possible make some adjustments that just the relevant requests are put through?
Site is https://www.keengamer.com
Thank you.
]]>Hello!
First of all thanks for this great plugin!
Can you please give me instructions how to make it work with the KV Namespace Bindings?
Regards,
Chris
Will this be compatible with Groundhogg CRM?
]]>Hi, thank you for creating this plugin, i wanted to try it out but i’m getting errors for some reason please help me out.
Here is the error i’m getting.
Current Cloudflare Worker installation status: Could not route to /accounts/workers/scripts/wp-edge-caching, perhaps your object identifier is invalid?. Code 7003
I made sure to use the same email as i use to login to cloudflare.
And i use the CF API Key
Could it be that cache plugin is being blocked by another plugin i use?
]]>How can I set how long the edge cache is good for? Mine keeps expiring way sooner than it needs to so I’m still getting a lot on uncached requests.
]]>Will this plugin be compatible with woocommerce based sites?
]]>Hi, thank you for this great plugin. I tried it on my site but I have a question, is it possible to create a seperate cache on cloudflare through workers for mobile site and desktop site? I use a different theme on mobile which needs a seperate cache. It would be great if you could implement such a option in your plugin…
Thank you in advance…
What are the benefits of using this plugin or CF Workers in general, versus more established way like this plugin for example? https://www.ads-software.com/plugins/wp-cloudflare-page-cache/
]]>I wanted this to work so bad!
I can’t get it to work.
I’ve tried three API keys and always get 6003 error code.
I’ve tried the API key for the zone for the domain in question.
I’ve tried the account API key.
I’ve tried an account > API keys created key and that also doesn’t work.
Thing is, the plugin doesn’t say what kind of API key it needs or what permissions to grant it!
]]>I get the following error in my error log….
[Wed Jan 15 01:32:15.172153 2020] [proxy_fcgi:error] [pid 9953] [client 127.0.0.1:46176] AH01071: Got error ‘PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Cloudflare_Edge_Cache_Admin_Settings’ does not have a method ‘km_hook_into_options_page_after_save’ in /home/***.*********.***/*********/public_html/wp-includes/class-wp-hook.php on line 290′, referer: https://***.*********.***/wp-admin/plugins.php?page=cf_caching_options
In the Cloudflare Edge Caching Settings, I see the following message…
Current Cloudflare Worker installation status: Could not route to /accounts/workers/scripts/wp-edge-caching, perhaps your object identifier is invalid?. Code 7003
I am certain that my cloudflare worker has been properly setup as per your instructions. I have NOT edited the
const CLOUDFLARE_API = {
email: “”, // From https://dash.cloudflare.com/profile
key: “”, // Global API Key from https://dash.cloudflare.com/profile
zone: “” // “Zone ID” from the API section of the dashboard overview page https://dash.cloudflare.com/
};
As I am using KV, not API.
Any ideas as to what maybe wrong?
]]>