Apps deployed with WebGL crash and display a warning popup (not sure if this is a cache issue)

In rare cases, apps deployed with WebGL crash and display a warning popup (not sure if this is a cache issue).

Unity version: 2022.3.17f1
Platform WebGL

Steps to reproduce

  1. deploy a new build
  2. open the project URL

Expected Result The game should load successfully and be playable.
Actual Result Game crashes and a warning popup appears. After clearing the cache, the game should work correctly.

Reproducible 2022.3.17f1
Reproducible Google Chrome, Microsoft Edge

Notes.
Reproducibility is about 10-20%.

Does anyone have a stable WebGL build?