I’ve been having an issue with my app which is also using Liveview, when I have a tab idle for a couple of hours the app content just disappear. I don’t know if this is related to Phoenix, o specifically to Liveview.
Since my app gets rendered on a embeded iframe on other websites I had to remove the session from the websocket configuration on the
Endpoint, I thought maybe could be related with this.
socket "/live", Phoenix.LiveView.Socket, websocket: 
any help or comment is welcome!, Thanks you