-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache not being cleaned on planned article #2752
Comments
Yes, known issue. The plugin doesn't handle cache clear when scheduled post goes live. https://community.cloudflare.com/t/wordpress-plugin-automatic-cache-purge-doesnt-seem-to-work-when-scheduling-posts/76437 |
Does that modification solves the issue? |
It partially solves the problem by triggering the action, call the API to clear the cache. But the cache is not cleared properly, it should clear within 30 secs, but from my testing, it takes much more than that, even upto an hour sometimes.. Switching to https://github.com/cloudflare/worker-examples/tree/master/examples/edge-cache-html |
Yes but I'm using the plugin of this repo and the problem remains. And as we can see, the hook |
yes, I also added it manually to make it work..
செவ்., 18 ஜூன், 2019, பிற்பகல் 3:05 அன்று, Carlos Ferreira <
notifications@github.com> எழுதியது:
… Yes but I'm using the plugin of this repo and the problem remains.
And as we can see, the hook publish_future_post is not on the code either.
https://github.com/cloudflare/worker-examples/blob/master/examples/edge-cache-html/WordPress%20Plugin/cloudflare-page-cache/cloudflare-page-cache.php#L17
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/cloudflare/worker-examples/issues/38?email_source=notifications&email_token=ABL6XRSLQC2T2FQZSI42UZLP3CT5VA5CNFSM4HW4CF5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX5ZQCQ#issuecomment-503027722>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABL6XRU7ZSEPS24UUWSNFADP3CT5VANCNFSM4HW4CF5A>
.
|
That's good to know. Would you mind sending a change to the plugin? |
Any update on this issue? My client keeps asking me about planned posts... I tried adding the hook for @acs-ferreira How did you get it to work (half way)? What did you change in the code and which URL did you call to have the purgeall header appear in the response? |
…-4.17.21 Bump lodash from 4.17.19 to 4.17.21
The templates repo has moved to workers-sdk monorepo, if you are still encountering problems with this, can you leave a comment and let us know. |
@solracsf I'm closing this for now since we haven't heard from you in a while, but feel free to re-open if this is still an issue, and we can investigate further |
Using Wordpress, the cache is not being cleaned on a planned article.
Our articles are published also on the homepage so they are published on the category but not in the homepage. only solution, re-save the article after it has been published.
The text was updated successfully, but these errors were encountered: