docbrown/app/services/edge_cache/bust_podcast.rb
Alex d109b6824e
Refactor cache purging (#12811)
* Refactor caching

* Bring back old bust class

* Refactor with PR feedback

* Remove useless return values
2021-03-02 10:09:05 -05:00

10 lines
178 B
Ruby

module EdgeCache
class BustPodcast
def self.call(path)
return unless path
cache_bust = EdgeCache::Bust.new
cache_bust.call("/#{path}")
end
end
end