WPFC & Cloudflare issue
-
Hi guys, I’ve been very happy user of WPFC for years now.. and CloudFlare also.. but I do suspect either some CF change or plugin update change does issues on my pages.
I’ve been having for years 2 cache fallback system successfully setup (having locally generated / served html pages via WPFC for non logged in users + CF did serve it fast) – while logged-in users did have cache bypass (CF did listened my nginx headers and passed dynamic content to users) – but recently does not work (I have to either disable WPFC itself or enable it and loggedin users gets cached pages)
On my server I’ve been using standard nginx directive:if ($http_cookie ~* (comment_author|comment_author_|wordpress_logged_in|wp_woocommerce_session)) {
set $no_cache 1;
}
location / {
if ($no_cache) {
try_files $uri $uri/ /index.php?$args;
}
set $serve $fullurl${uri}index.html;
try_files $serve $uri $uri/ /index.php?$args;
}I’ve had played with disabling api token CDN connection, and ON|OFF enable cache of WPFC – but nothing worked – except when I disable plugin it self..
I do realise that this could be complicated setup and you can direct me to support if its needed – kindly Kres.
note: site is in preload list => hsts (https://hstspreload.org/?domain=udahni.com)
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.




