globocom/thumbor — pull request #53 by dhardy92 (2011-12-29 15:44:39+00:00)
Title: Add Cache-Control and Expires HTTP headers in response

Hello,

This is a small patch to add some cache control in configuration.
If you use some caching technologies like varnishd in front of thumbor it could be usefull to add Cache-Control and Expires header to make varnish storing fine the generated image preventing request at thumbor to often.

I add some tests with it but wasn't able to make them working, all the tests ends with :
AssertionError: Async operation timed out after X seconds
Did I missed something ?

Best regards,

--
Damien