AWS slowing file loading considerably

41 views
Skip to first unread message

greg

unread,
May 15, 2012, 5:46:06 PM5/15/12
to carrierwave
I have carrierwave + fog working, but images are loading incredibly
slowly...before, when I had them stored on Heroku (albeit only for a
few hours as Heroku doesn't allow image storage), they popped up
quickly. Obviously on localhost they loaded quickly as well...

Any suggestions on how to improve the load time?

Thank you.

Daniel Doubrovkine

unread,
May 16, 2012, 12:14:56 PM5/16/12
to carri...@googlegroups.com
By AWS do you mean S3?

By slow do you mean loading when you render it as <img src="..."> or somehow via Carrierwave code?


--
You received this message because you are subscribed to the Google Groups "carrierwave" group.
To post to this group, send email to carri...@googlegroups.com.
To unsubscribe from this group, send email to carrierwave...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/carrierwave?hl=en.




--

dB. | Moscow - Geneva - Seattle - New York
dblock.org - @dblockdotorg


greg

unread,
May 16, 2012, 2:57:16 PM5/16/12
to carrierwave
Using S3.

Im rendering the image using <%= image_tag(post.avatar.url) %>. Where
post is just an object.
> dblock.org <http://www.dblock.org> -
> @dblockdotorg<http://twitter.com/#!/dblockdotorg>

Daniel Doubrovkine

unread,
May 16, 2012, 5:18:09 PM5/16/12
to carri...@googlegroups.com
I think this is retrieving your image first, try post.avatar_url ?

dblock.org - @dblockdotorg


Reply all
Reply to author
Forward
0 new messages