Skip to content
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

Performance loss on Cache update due to wp_set_post_lock #766

Closed
ziodave opened this issue Feb 14, 2018 · 0 comments
Closed

Performance loss on Cache update due to wp_set_post_lock #766

ziodave opened this issue Feb 14, 2018 · 0 comments
Assignees
Milestone

Comments

@ziodave
Copy link
Member

ziodave commented Feb 14, 2018

Please describe the issue here:

When wp_set_post_lock is called, the update_post_meta function is called which in turn forces the cache to update.

It is not really necessary to perform any cache updates on wp_set_post_lock, therefore the following meta keys should be ignored:

  • _edit_lock
  • _edit_last
  • _wp_page_template
  • _wp_attachment_is_custom_background
  • _wp_attachment_backup_sizes
  • _wp_attachment_is_custom_header

Please provide additional data about your WordPress install:
[ ] WordPress version: 4.9.4
[ ] WordLift plugin version: 3.17.2

@ziodave ziodave self-assigned this Feb 14, 2018
@ziodave ziodave added this to the 3.17.3 milestone Feb 14, 2018
ziodave added a commit that referenced this issue Feb 14, 2018
@ziodave ziodave closed this as completed Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant