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

feat. do_action for cache wipe / clear / purge #922

Open Blackbam opened 6 years ago

Blackbam commented 6 years ago

There is no possibility to hook into the wipe / clear / purge method so far. In my special case I required this to make the Plugin compatible with Amazon EC2 multiple instances, however there might be a BROAD range of use cases and you should really provide those possibility for developers to extend the Plugin :-)

raamdev commented 6 years ago

@Blackbam Thanks for the suggestion and the Pull Request! :-) I apologize for not responding to this sooner.

Could you please submit this as a Pull Request to the Comet Cache Pro repo? The free version of Comet Cache is generated from the Pro version, so if you'd like to have your commit in the contributors list on GitHub, submitting a PR to the Pro repo would allow me to include it there. (If you don't care about that, I'll just close this PR and add the hooks to the Pro repo giving you props in the changelog.)

futtta commented 6 years ago

Looking forward to this one as well @raamdev & @Blackbam :-)