Hello everyone Good Morning,

  I done adding expire header by put the following code into my product 
model.

    :s3_headers => { 'Cache-Control' => 'max-age=315576000', 'Expires' => 
10.years.from_now.httpdate },

  But its work only while i add new product and image.
  Already i have 100 of products and images. How can i add expire header 
for those which already exist products.

Please advice.

Regards
Saravanan P

-- 
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/-/_dCNMiE6ekwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to