class RuboCop::ResultCache

def relevant_options(options)

don't affect caching.
effect on which offenses and disabled line ranges are found, and thus
Return the options given at invocation, minus the ones that have no
def relevant_options(options)
  options = options.reject { |key, _| NON_CHANGING.include?(key) }
  options.to_s.gsub(/[^a-z]+/i, '_')
end