Liftric / kirby-cloudfront-invalidations

Kirby plugin for automatic slug invalidation in AWS CloudFront
MIT License
7 stars 1 forks source link

Hooks missing. #3

Open asabosch opened 1 year ago

asabosch commented 1 year ago

Hej!

Version 1.0.6 is not usable because the hooks (index.php) have been commented out.

This is probably just an oversight. :-) I suggest creating a 1.0.7. with hooks enabled.

benjohnde commented 1 year ago

Hi @asabosch we are currently reworking the implementation as the admin panel of Kirby changed quite a bit in the last few releases :)

asabosch commented 1 year ago

Thanks for the prompt reply! Yes, I understand.

But the invalidation of individual files works without this commit from a year ago – https://github.com/Liftric/kirby-cloudfront-invalidations/commit/167d6daf3ae50bb73bebe1d39d78b3e87f33d30f.

Would it bother you to revert this change? Then at least the plugin would be usable again. :-)

benjohnde commented 1 year ago

I can restore the old version tomorrow. I removed these parts as you can quickly reach the limit for invalidations. That's why I changed it to just click a simple "invalidate cache" button.