ostark / upper

Integrates Edge Caches like Fastly, KeyCDN, Cloudflare and Varnish with Craft.
MIT License
102 stars 22 forks source link

Update Cloudflare driver to implement scoped API tokens #39

Closed tomdavies closed 4 years ago

tomdavies commented 4 years ago

Implements #38. Legacy/global API keys still work but logs a Craft deprecation warning.

I also found I had to make one change outside of the CF driver (e96c7e4) in order to get the unreleased / 1.6.x changes to run, as (for me anyway) EventRegistrar::registerFrontendEvents() expected Response to already have the plugins custom behaviours attached to it