Handles pause and caching correctly