Using attachment_fu with S3 to save and serve data? Set cache-control headers by applying this patch to improve site performance and save some money:
http://www.gozuus.com/blog/2009/03/caching-images-using-attachment_fu-and-amazon-s3/
If using PaperClip then add headers by adding:
:s3_headers => { 'Cache-Control' => 'max-age=315576000', 'Expires' => 10.years.from_now.httpdate }
Find more info about paperclip s3 options here: http://rubydoc.info/gems/paperclip/Paperclip/Storage/S3
Its not working for me. Take a look here. http://stackoverflow.com/questions/12993954/how-to-add-expires-headers-for-amazon-s3-images
Any suggestions?
Long minutes went by, probably as the doctor ate lunch and perused my materials.
), cauliflower, cabbage, kale, broccoli, turnips, rutabaga, radishes, spinach, Brussels
sprouts, peanuts, strawberries, mustard greens, and carrots.
The most common treatment for an under-active thyroid (Hypothyroidism) is usually medication.
Thanks. was useful.
Hello my family member! I wish to say that this post is awesome, great
written and come with approximately all significant infos.
I would like to look more posts like this .