Apologies if this is a duplicate, but I can't find a bug report anywhere.
Steps to Reproduce:
- Load a page in VisualEditor.
- Edit something.
- Disconnect internet.
- Hit preview.
- Get Error loading data from server: Failed to connect.
- Reconnect internet.
- Hit preview again.
- Still get the cached Error loading data from server: Failed to connect.
- Edit something else.
- Hit preview again.
- Preview succeeds as the cache is invalidated.