Set the s-maxage HTTP cache control header to this many seconds. Errors are never cached.