After updating the AOT Caching site, the main preview page was not refreshed and now shows outdated content.
Investigate and fix the issue so that preview pages always stay consistent with their corresponding detail pages.
Requirements:
- Ensure previews automatically update whenever a detail page is updated.
- Identify where preview data is generated or cached and correct any invalidation or refresh logic.
- Verify that AOT caching does not serve stale preview content.
- Add safeguards or tests to prevent preview/detail mismatches in the future.
- Keep performance impact minimal and preserve existing caching benefits.
Expected outcome:
- The main preview page and all preview components display the same updated data as the detail pages immediately after updates.
After updating the AOT Caching site, the main preview page was not refreshed and now shows outdated content.
Investigate and fix the issue so that preview pages always stay consistent with their corresponding detail pages.
Requirements:
Expected outcome: