You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated carrierwave from 3.0.7 to 3.1.1 and am experiencing performance issues.
From what I can find, before CarrierWave::Storage::Fog::File#empty? was implemented, requests were not being sent to S3. This change seems to have caused the HEAD request to be sent to check for the existence of the file.
Is there any way to avoid sending this request or to cache it?
newrelic screenshots
Many HEAD requests to s3 are being thrown.
gems we use
carrierwave
fog-aws
grape
grape-active_model_serializers
active_model_serializers
The text was updated successfully, but these errors were encountered:
I also encountered the same problem, so I fixed the carrierwave version to 3.0.7 for now.
I found that on pages that include a check to see if an image has been saved, such as user.image?, the response time slows down by 0.5 seconds.
I am thinking that it could be fixed with user.image.url.present? etc., but it would be helpful if it is fixed on the gem side.
description
I have updated carrierwave from 3.0.7 to 3.1.1 and am experiencing performance issues.
From what I can find, before CarrierWave::Storage::Fog::File#empty? was implemented, requests were not being sent to S3. This change seems to have caused the HEAD request to be sent to check for the existence of the file.
Is there any way to avoid sending this request or to cache it?
newrelic screenshots
Many HEAD requests to s3 are being thrown.
gems we use
The text was updated successfully, but these errors were encountered: