Fix caching of redirects
Cache 301 and 308 redirects