curl -I https://tcpdata.com/cache
fetch('https://tcpdata.com/cache')
.then(res => {
console.log(res.headers.get('Cache-Control'));
return res.json();
})
.then(data => console.log(data));
import requests
response = requests.get('https://tcpdata.com/cache')
print(response.headers.get('Cache-Control'))
print(response.json())