Restored the correct cache condition that was accidentally removed:
- Only save cache when docs are generated (cache miss)
- Matches the improved main branch version
- Ensures consistent behavior across branches
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>