app/models/table.rb
##
# This method removes all the vanish cached objects for the table,
# tiles included. Use with care O:-)
This method removes all the vanish cached objects for the table,
tiles included. Use with care O:-)
This method removes all the vanish cached objects for the table tiles included . Use with care O : - )
def invalidate_varnish_cache
    CartoDB::Varnish.new.purge("obj.http.X-Cache-Channel ~ #{varnish_key}")
    invalidate_cache_for(affected_visualizations) if id && table_visualization
    self
  end
def invalidate_varnish_cache CartoDB :: Varnish . new . purge ( "obj.http.X-Cache-Channel ~ #{varnish_key}" ) invalidate_cache_for ( affected_visualizations ) if id && table_visualization self end
This method removes all the vanish cached objects for the table,
tiles included.
This method removes all the vanish cached objects for the table tiles included .