module Sprockets::ProcessorUtils

def processor_cache_key(processor)

Returns JSON serializable key or nil.

processor - Processor function

Internal: Get processor defined cached key.
def processor_cache_key(processor)
  processor.cache_key if processor.respond_to?(:cache_key)
end