Viewerframe Mode Refresh Work [portable] -

However, isolation introduces communication challenges. The parent application and the viewerframe must coordinate to determine exactly when and how to refresh content.

Warning: Only include allow-same-origin if you completely trust the content being loaded inside the frame, as it grants the frame access to the host's cookies and local storage. Solution 3: Master the PostMessage API for Deep Refreshing