docbrown/app/services/edge_cache
Daniel Uber c1a93ad3c3
Cleanup articles cache busting (#13467)
* Extract repeated calls to cache_bust.call to iteration over list

This mirrors what the EdgeCache::BustUser service looks like.

It might make sense to have cached_article_paths be a method accepting
a block and yielding paths, and including the collections cache paths
as well.

* Move article path information into a separate method

BustArticle.call now only knows to bust cache for each path associated
with the article, the information about which paths to clear is moved
to a separate `paths_for` method.

I may have gone overboard on this.

* Remove extra blank line
2021-04-23 09:35:40 -05:00
..
bust Fastly edge caching: use PURGE HTTP method instead of POST (#12627) 2021-02-17 13:34:37 -05:00
bust.rb Fix rescue in EdgeCache::Bust (#13303) 2021-04-07 15:31:30 -04:00
bust_article.rb Cleanup articles cache busting (#13467) 2021-04-23 09:35:40 -05:00
bust_comment.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_commentable.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_events.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_listings.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_organization.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_page.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_podcast.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_podcast_episode.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_sidebar.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_tag.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
bust_user.rb When busting user cache, also clear the api response (#13465) 2021-04-22 09:16:15 -05:00