Skip to content
New issue

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

Optimization: avoid calling file.url twice. #2078

Merged
merged 1 commit into from
Mar 5, 2017

Conversation

lukeasrodgers
Copy link
Contributor

Since file.url does somewhat costly operations, we should avoid calling it twice. More aggressive caching may be possible, but this is an easy and straightforward win.

Since `file.url` does somewhat costly operations, we should avoid
calling it twice. More aggressive caching may be possible, but this is
an easy and straightforward win.
@mshibuya mshibuya merged commit af3d1b3 into carrierwaveuploader:master Mar 5, 2017
@mshibuya
Copy link
Member

mshibuya commented Mar 5, 2017

Thanks.

@lukeasrodgers lukeasrodgers deleted the optimize-url branch March 5, 2017 16:51
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants