Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace :cartodb do
|
||||
namespace :cache do
|
||||
desc "invalidate Varnish surrogate key"
|
||||
task :invalidate_surrogate_key, [:key] => :environment do |t, args|
|
||||
CartoDB::Varnish.new.purge_surrogate_key(args[:key])
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user