-
Notifications
You must be signed in to change notification settings - Fork 83
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
Bulk editing posts is painfully slow #519
Comments
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. |
It's still the same in version 4.12.4. |
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. |
Having the same issue with version 4.12.8. |
Confirmation
WordPress version
6.2.2
Cloudflare-WordPress version
4.12.2
PHP version
8.0
Expected result
Clear cache for all posts in a single API call.
Actual result
Clearing cache using dozens of API calls.
Steps to reproduce
Additional factoids
CF\WordPress\Hooks::purgeCacheOnPostStatusChange function takes 2-3 seconds.
So when bulk editing 10 posts, updating takes 20-30 seconds, because there are 10 API calls involved.
References
No response
The text was updated successfully, but these errors were encountered: