Shiny app: offline mode

Is there any suggested solution on how to implement an offline mode for Shiny application? I know there's PWA that could solve this issue partially, but since Shiny communicates mostly using websockets this does not help that much.

By offline mode I mean app being still functional, but showing stale data or placeholders on lost connection.