Honor cache control header

Same as https://github.com/viki-org/viki-api-gem/pull/29 with merge conflicts resolved