Hye Colin ! 
Firstly thank you for your answer !
I try to caching my pictures on my app serv on the public folder of my 
rails app, i'll create a sub folder cache.{id-user}
I launch a function which return me a array of url, like that 
"http://www.bytebob.com/images/ruby.png";
and in my view I do a loop by .each, and for every occured, it puts <img 
src="{url}">
So it make some time to get url, and I want caching the .png/.jpg/... file, 
like a thumbnail, on a folder to increase speed 
Like that it'll take some time just one time, when user connect !

I use RAILS 3 + Devise + Mongoid

Sorry for my English ! =S

Le jeudi 16 août 2012 21:57:59 UTC+2, Colin Law a écrit :
>
> On 16 August 2012 11:38, Everett <[email protected] <javascript:>> wrote: 
> > Hye everybody ! 
> > 
> > I try to caching some pictures, to speed accrease my web site ! 
> > I have a def which a array of url in an helper and in the view just a 
> loop 
> > by .each on the return of for display a html <img src= myvar> 
> > If you have any idea to suggest i'm really open I have try to follow 
> this 
> > http://code.coneybeare.net/make-your-own-cache-system-in-ruby-on-rails 
>
> I think you need to explain your problem more fully.  Are you using 
> Amazon's webservers as in the link you posted to?   Exactly what 
> problem are you trying to solve by caching, and what are you trying to 
> cache and where to you want to cache it? 
>
> Colin 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/K0KfYWSCkBMJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to