Google AI Overview's reply is totally wrong. The official documentation (clicking the link: https://docs.gotosocial.org/en/latest/configuration/media/ ) clearly says:
"If this is set to 0, then media from remote instances will be cached indefinitely."