normalperson-c6
Forum Replies Created
-
Yes. That’s my current testing config.
I want to make it clear: I don’t know if this is a WPFC problem. It could be Cloudflare’s own plugin sending those requests. Cloudflare APO controls many things “behind the scenes” that aren’t explained much because it’s a new service.
That’s why I ask, is there anything in the Cloudflare Audit Log I showed that you can use to identify where the purge request came from? Or other logs somewhere?
Or… maybe the easiest/best idea: Show a small log for us in our WordPress dashboard of the last 5-10 API calls that WPFC has made.
Just an example of what I mean:
– [Server date/time]: WPFC successfully purged everything in the Cloudflare cache. (Request sent because a new post was published – check settings to change purge sensitivity.)
– [Server date/time]: WPFC successfully purged some of the Cloudflare cache. (Request sent because posts/categories/etc were updated – check settings to change purge sensitivity.)
– [Server date/time]: WPFC could not communicate with Cloudflare. (Attempted to purge cache but API call was unauthorized or timed out.)
– [Server date/time]: WPFC has detected a conflict with your Cloudflare settings. (??? – check the Cloudflare settings via API and report something about it.)Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Deleted cache reappearing@uzzalth – Did you make sure you’re not seeing a copy from other caches? Your browser cache, CDN cache like Cloudflare, etc.
Use developer tools in a new ‘private’ browser window and look at the network tab. That will show you where each img, css, js, html is served from. (And you can disable cache there too.)
Already taken care of.
I noticed the Cloudflare update to WPFC this week. It was working well, and my cache hit % was going up, but then the purges came back…
Is there any way to know from the Cloudflare Audit Log if the purge everything requests are from WPFC or the Cloudflare APO plugin itself? My whole Cloudflare cache is getting wiped every time I approve a comment.
This is what the Audit Log looks like. It seems to be 3 requests to purge the zone completely:
Does that look like a WPFC request? It doesn’t have much information… but the IP address is my origin server, not my Cloudflare IP. (So I guess it’s one of these plugins doing it.)
In WPFC I have set it to NOT purge all on new/updated post/page, and it seems to be working as expected. WPFC is not deleting its whole cache every time. (Auto purge is also turned off in Cloudflare plugin, but the APO service overrides it.)
Anyone else here using the Cloudflare APO service + WPFCS?
@arazsalahli I haven’t used Autoptimize, but similar plugins can act that way. Any time you let a plugin automatically change CSS or JS there could be conflicts. Just continue testing, make small changes each time and remember what you did.
Sometimes it’s not as obvious as a blank page… I’m still trying to understand why ajax search gets broken by some settings.
Also check your Cloudflare settings (Minify HTML, CSS, JS, Rocket Loader). If you’re using WPFC for it, then disable in Cloudflare. Rocket Loader seems to cause the most problems.
My current setup (still testing):
Cloudflare: Minify CSS + JavaScript. Rocket Loader disabled.
WPFC: Minify HTML. Gzip enabled.@jpattwell – I haven’t tried that, but it seems like GA4 isn’t “ready” to use yet. That’s why they recommend using both your old property and GA4 for now.
Forum: Plugins
In reply to: [WP Popular Posts] 403 Forbidden Error@jwestinghouse – I’m just browsing here and don’t know the specifics, but whatever the case is here, you should definitely decide to use one or the other (www. or not) and stick with it.
You should also redirect to the https while you’re there, so it’s done in 1 shot and your server isn’t doing any more work than it needs to.
The code you posted will redirect like this:
http://example.com > http://www.example.comYou would need to setup another redirect here to get the visitor to go:
http://www.example.com > https://www.example.comBelow is the basic code that’ll get your visitors to the https quicker and more efficiently. And it’s not just website performance, like I said, you’ll have less problems when using the same URL structure everywhere. (And that means forcing other people/services to use the URL you want.)
RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301,NC]Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Not caching the home page?What do you see if you add this to your website URL?
/?action=wpfastestcache&type=preloadThis calls the WPFC “cache warming” preload mechanism and it should show you the status of your index and others, or it will simply show as completed if all files are cached. You may need to enable “Preload” in WPFC plugin settings for this to show anything.
https://www.wpfastestcache.com/features/preload-settings/
- This reply was modified 5 years, 7 months ago by normalperson-c6.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Text Too Small To ReadWPFC isn’t responsible for styling those directory views. Your server / host config does that. (At the bottom you can see it’s generated by LiteSpeed in your case)
https://www.litespeedtech.com/docs/webserver/config/general#autoIndex
The best solution is to deny access to all views like this, because there is usually no good reason to allow it. It can also be disabled for individual folders, but I recommend disabling it everywhere. Search Console will report the same error/warning if it finds another directory.
Another solution (not recommended) is to make sure you have an index file in those directories (index.html or index.php usually). The index file will be displayed instead of the directory view.
OK I have that setup. Thanks.
Thanks. I’ll keep an eye on it and track both for now.
Forum: Themes and Templates
In reply to: [Gridzone] Dark mode switch for visitorsThanks, I will check that next. I know Gridzone has dark mode support behind the scenes, so I might actually try editing that in to a user switch. I’ve been trying to optimize for speed and keep it light, and avoiding too many plugins when possible.
Maybe I’m wrong, but it seems like this theme already supports 99% of what it needs for user-selected dark mode.