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

Enhance hook to clear data cache #1329

Closed
akshayraje opened this issue Mar 24, 2021 · 0 comments
Closed

Enhance hook to clear data cache #1329

akshayraje opened this issue Mar 24, 2021 · 0 comments
Milestone

Comments

@akshayraje
Copy link
Contributor

We already have a hook to clear data cache here src/wordlift/api-data/class-api-data-hooks.php

The same needs to be enhanced such that:

  • It is triggered on updated_post_meta action of any post meta (currently it only triggers on wl_schema_url meta key)
  • Yet run the actual delete call delete_cache_for_meta_values only once, by batching requests and using the shutdown hook or something similar.
@akshayraje akshayraje added this to the 3.30.0 milestone Apr 2, 2021
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