Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Can Sunny purge the rss feed on publish? #2
I am still testing this, but it seems like Sunny does not purge the rss feed from CloudFlare's cache when a post is published? I just had a scheduled post automatically get published at it's schedule time, but CloudFlare's cache of my rss feed did not get purged until I manually purged the url of my feed. Just wondering if this is a bug or a feature that needs to be added? Thanks for the great plugin!
Note: This plugin is awesome and I posted an article about it here.
Thanks for the blog post!
Purging RSS feed URLs are not supported at this version.
If you really need it, there are 2 quick workaround:
I was able to temporarily accomplish this until we get it in a new release of Sunny, via your suggestion, by adding the following to my child theme's functions.php. I need to ensure category feeds are purged instantly as well because I use IFTTT->Buffer->Social Media (social media outlets based on category). Comment and tag feeds aren't critical and can wait until the (in my case) 4-hour timeout for CloudFlare's edge expires.
I'm keeping this issue flagged, and I hope to be able to help develop this in a future release of Sunny. It really is a very valuable plugin. Thanks.
If Sunny purged all feed, page, post, custom post types, and anything else I'm forgetting, we could bump CloudFlare's edge cache way up to the max. of 1-month on the free plan and visitors would never get a miss on the CF cache unless they are the first visitor to a freshly updated page. #someday
Thank you all!
This will be shipped with version 2.0.0 release.