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 <[email protected]> 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 [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/-/uLnVtOzeYCgJ. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -------------Regards--------------- G SubbaRao Cell:08970668850 E-Mail:[email protected] -- 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]. For more options, visit https://groups.google.com/groups/opt_out.

