Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

ActiveStorage - AWS S3 use_accelerate_endpoint for certain users

0
Rails

Hi there!

I'd love to know if there's a straightforward way of implementing S3 accelerated uploads for certain users, with ActiveStorage. Essentially, I want my paid users to experience faster uploads.

I can see turning it on globally is easy in config: use_accelerate_endpoint: true

Any assistance in finding a way to set it dynamically would be greatly appreciated!

Thanks :)

Join the discussion
Create an account Log in