wpsharks / comet-cache

An advanced WordPress® caching plugin inspired by simplicity.
https://cometcache.com
GNU General Public License v3.0
77 stars 17 forks source link

Clear cache when GDPR Erasure Request tool is run #928

Open raamdev opened 6 years ago

raamdev commented 6 years ago

The GDPR Erasure Request tool which can anonymize the comments of a user needs to trigger an automatic clearing of the cache, so that when the erasure tool is used the site does not continue to show the cached comments.

Comet Cache should hook into `wp_privacy_personal_data_erased to trigger a Clear Cache when that action is fired. https://developer.wordpress.org/plugins/privacy/privacy-related-options-hooks-and-capabilities/

garretthyder commented 6 years ago

Thanks for making this a priority @raamdev