11 lines
214 B
Ruby
11 lines
214 B
Ruby
module EdgeCache
|
|
class BustPage
|
|
def self.call(slug)
|
|
return unless slug
|
|
|
|
cache_bust = EdgeCache::Bust.new
|
|
cache_bust.call("/page/#{slug}")
|
|
cache_bust.call("/#{slug}")
|
|
end
|
|
end
|
|
end
|