diff --git a/lib/travis/api/app/responders/service.rb b/lib/travis/api/app/responders/service.rb index 436382b8a3..bc37a05dd1 100644 --- a/lib/travis/api/app/responders/service.rb +++ b/lib/travis/api/app/responders/service.rb @@ -21,14 +21,7 @@ def apply private def cache_control - if final? - mode = endpoint.public? ? :public : :private - endpoint.expires(31536000, mode) # 1 year - else - # FIXME: Chrome WTF? - endpoint.cache_control :no_cache - end - + endpoint.cache_control :no_cache endpoint.etag cache_key if cache_key end