Closed Log1x closed 2 months ago
I brought this up in Discord awhile back but was a little late on getting a PR in.
This adds a should_check_visibility config to allow bypassing the Storage::exists() and Storage::getVisibility() checks when fetching a media URL.
should_check_visibility
Storage::exists()
Storage::getVisibility()
These operations are seemingly quite intensive when media is stored in an S3 bucket.
Not 100% sold on the config key name – if you have a better idea, feel free.
I'm ok with this.
Can you change the config key to 'should_check_exists', don't want it to get confused with the actual 'visibility' settings.
Thank you. :)
I brought this up in Discord awhile back but was a little late on getting a PR in.
This adds a
should_check_visibility
config to allow bypassing theStorage::exists()
andStorage::getVisibility()
checks when fetching a media URL.These operations are seemingly quite intensive when media is stored in an S3 bucket.
Not 100% sold on the config key name – if you have a better idea, feel free.