mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove warning that image will be loaded into memory
This is not true anymore, the image will be downloaded into a temporary file in a streaming fashion.
This commit is contained in:
parent
7fc8b6d82c
commit
e40091648b
1 changed files with 4 additions and 4 deletions
|
@ -19,10 +19,10 @@ require "active_storage/downloading"
|
|||
# Rails.application.config.active_storage.variant_processor = :vips
|
||||
# # => :vips
|
||||
#
|
||||
# Note that to create a variant it's necessary to download the entire blob file from the service. The larger
|
||||
# the image, the more memory is used. Because of this process, you also want to be considerate about when the variant
|
||||
# is actually processed. You shouldn't be processing variants inline in a template, for example. Delay the processing
|
||||
# to an on-demand controller, like the one provided in ActiveStorage::RepresentationsController.
|
||||
# Note that to create a variant it's necessary to download the entire blob file from the service. Because of this process,
|
||||
# you also want to be considerate about when the variant is actually processed. You shouldn't be processing variants inline
|
||||
# in a template, for example. Delay the processing to an on-demand controller, like the one provided in
|
||||
# ActiveStorage::RepresentationsController.
|
||||
#
|
||||
# To refer to such a delayed on-demand variant, simply link to the variant through the resolved route provided
|
||||
# by Active Storage like so:
|
||||
|
|
Loading…
Reference in a new issue