Mastodon has several mitigations for this and neighboring issues:
- Fetches parents of posts that you read
- Allows you to search for a post URL and tries to fetch that post if it doesn't have it
- Goes out and fetches the latest bunch of posts from an account when you start following it