instance method
each_precompressed_filepath
Ruby on Rails 7.1.6
Since v6.1.7.10 PrivateSignature
each_precompressed_filepath(filepath)
No documentation comment.
Parameters
-
filepathreq
Source
# File actionpack/lib/action_dispatch/middleware/static.rb, line 151
def each_precompressed_filepath(filepath)
@precompressed.each do |content_encoding|
precompressed_ext = PRECOMPRESSED.fetch(content_encoding)
yield content_encoding, "#{filepath}#{precompressed_ext}"
end
nil
end
Defined in actionpack/lib/action_dispatch/middleware/static.rb line 151
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::FileHandler