Ask A Question

Notifications

You’re not receiving notifications from this thread.

ActiveStorage - AWS S3 use_accelerate_endpoint for certain users

Simon Moro asked in 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 :)

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.