Hi,
I came across this article on yahoo
http://developer.yahoo.net/blog/archives/2007/05/high_performanc_2.html
how do i implement this in a rails app that serves up images?
thanks/
Hi,
I came across this article on yahoo
http://developer.yahoo.net/blog/archives/2007/05/high_performanc_2.html
how do i implement this in a rails app that serves up images?
thanks/
disreggard, just put it in the .htaccess and all is good.
mixplate wrote:
Hi,
I came across this article on yahoohttp://developer.yahoo.net/blog/archives/2007/05/high_performanc_2.html
how do i implement this in a rails app that serves up images?
thanks/
On 5/31/07, mixplate [email protected] wrote:
Hi,
I came across this article on yahoohttp://developer.yahoo.net/blog/archives/2007/05/high_performanc_2.html
how do i implement this in a rails app that serves up images?
thanks/
If you’re talking about static images, you can do this in your web
server (apache/lighttpd/nginx/etc). If you’re talking about dynamic
images served by rails directly, you can set your own expires headers:
http://rails.rubyonrails.org/classes/ActionController/Base.html#M000272
–
Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs