We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using ActiveStorage's with_attached_*, it will try to eager load any variants in the database as described here:
with_attached_*
If ActiveStorage.track_variants is enabled, it will also include the variants record and their attached blobs.
ActiveStorage.track_variants
https://edgeapi.rubyonrails.org/classes/ActiveStorage/Attached/Model.html#method-i-with_attached_-2A
This setting is enabled by default.
This leads to unnecessary database calls when using imgproxy-rails, as no variants will be stored in the database anyway.
imgproxy-rails
Recommend users, or at least suggest to them, to disable variant tracking if they use imgproxy-rails
config.active_storage.track_variants = false
The text was updated successfully, but these errors were encountered:
palkan
No branches or pull requests
Is your feature request related to a problem? Please describe.
When using ActiveStorage's
with_attached_*
, it will try to eager load any variants in the database as described here:https://edgeapi.rubyonrails.org/classes/ActiveStorage/Attached/Model.html#method-i-with_attached_-2A
This setting is enabled by default.
This leads to unnecessary database calls when using
imgproxy-rails
, as no variants will be stored in the database anyway.Describe the solution you'd like
Recommend users, or at least suggest to them, to disable variant tracking if they use
imgproxy-rails
The text was updated successfully, but these errors were encountered: