patch from Kuntal Loya | HttpResponse.getCacheTtl returns time in milliseconds while ttl in cache headers is in seconds