def clear_cache_for(*paths)
      return unless Lacquer.configuration.enable_cache
      case Lacquer.configuration.job_backend
      when :delayed_job
        require 'lacquer/delayed_job_job'
        Delayed::Job.enqueue(Lacquer::DelayedJobJob.new(paths))
      when :resque
        require 'lacquer/resque_job'
        Resque.enqueue(Lacquer::ResqueJob, paths)
      when :sidekiq
        require 'lacquer/sidekiq_worker'
        Lacquer::SidekiqWorker.perform_async(paths)
      when :none
        Varnish.new.purge(*paths)
      end
    end
def clear_cache_for(*paths)
      return unless Lacquer.configuration.enable_cache
      case Lacquer.configuration.job_backend
      when :delayed_job
        require 'lacquer/delayed_job_job'
        Delayed::Job.enqueue(Lacquer::DelayedJobJob.new(paths))
      when :resque
        require 'lacquer/resque_job'
        Resque.enqueue(Lacquer::ResqueJob, paths)
      when :sidekiq
        require 'lacquer/sidekiq_worker'
        Lacquer::SidekiqWorker.perform_async(paths)
      when :none
        Varnish.new.purge(*paths)
      end
    end
Sends url.purge command to varnish to clear cache.

 clear_cache_for(root_path, blog_posts_path, '/other/content/*')