cloudflare / Cloudflare-WordPress

A Cloudflare plugin for WordPress
https://www.cloudflare.com/wordpress/
BSD 3-Clause "New" or "Revised" License
216 stars 83 forks source link

Cloudflare using APO - Always served from Cache, even after update, create post. (Home page is exception) #487

Closed Jineshpanchal closed 1 year ago

Jineshpanchal commented 2 years ago

Confirmation

WordPress version

6.0

Cloudflare-WordPress version

4.10.1

PHP version

7.4.13

Expected result

Whenever we are making any changes to the post, or adding new post, it should be available on respective sections based on category assigned.

Also while changing menu struture, pages should purge cached automatically

Actual result

For an instance,

Today we have updated 2 post on our website

  1. Soul Sustenance
  2. Thought For Today Now both are visible on home pages section of www.brahmakumaris.com

But in other page, it is showing yesterdays post only…and not of today. https://www.brahmakumaris.com/soul-sustenance/

https://www.brahmakumaris.com/thought-for-today/

Now if you press Ctrl+Shift+R on above page, then it will load and show the data of today as well…but again if we do the normal refresh then it is serving data of yesterday from cache.

Settings are default only…after enalbing APO.

If we deactivating APO then website is updating properly.

APO is helping a lot to improve speed but at the same time it is adding lot of manual effort to purge page each time adding/updating post or pages or menus.

Steps to reproduce

Everyday we are facing this challenge on our site.

Additional factoids

No response

References

No response

jacobbednarz commented 2 years ago

did you enable APO through the wordpress plugin? what is in the debug logs?

Jineshpanchal commented 2 years ago

did you enable APO through the wordpress plugin? what is in the debug logs?

How do we get the debug logs ?

We have tried enable from cloudflare website also tried from wordpress plugin.

jacobbednarz commented 2 years ago

for debugging, see https://wordpress.org/support/article/debugging-in-wordpress/

if you enable APO via the dashboard, I'm unsure if those settings will propagate to the plugin (enabling via the plugin works).

the debug logs should give more information what is going on here.

Jineshpanchal commented 2 years ago

We have enable APO via wordpress plugin only. Below are the url where we have sent multiple messages. https://community.cloudflare.com/t/latest-cloudflare-plugin-update-cache-issues/388638/7

Regarding, Debug log, we dont have any...

Do we have alternative way to check and fix the issue.

Jineshpanchal commented 2 years ago

Can someone help to fix the issue.

Jineshpanchal commented 2 years ago

Kindly help

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.