wordpress-markdown-git icon indicating copy to clipboard operation
wordpress-markdown-git copied to clipboard

Enable dynamic caching

Open nilsnolde opened this issue 3 years ago • 0 comments

With #19 hitting soon and implement static caching, closing #4 , it'd be really cool to have a dynamic way of creating & flushing a new cache.

@danilopinotti had the great idea to use webhooks from Github/Gitlab/Bitbucket (with authentication?) to achieve that. The effort is minor and mostly around parsing the POST content of the provider's webhook.

Note, static caching will always remain the default as it doesn't require any additional action on the user's side (like creating webhooks).

nilsnolde avatar Sep 22 '20 09:09 nilsnolde