If you are running on production environment then you can add expires headers on nginx configration file
On 21 August 2012 18:08, Saravanan P <saravana...@shriramits.com> wrote: > Hello everyone > > In rails how can add an expires header. In which file i need write expires > year code? > > Please advice. > > -- > 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 rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/uLnVtOzeYCgJ. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -------------Regards--------------- G SubbaRao Cell:08970668850 E-Mail:subbarao....@gmail.com -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.