You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in headless mode, every time the client sends a new URL, the UVE reloads the iframe. However, modern frameworks, using our hooks, are capable of handling content updates efficiently without the need for a full iframe reload. This results in an unnecessary double reload, slowing down the process and reducing performance.
Overview
When operating in headless mode, we should avoid modifying the iframe URL upon receiving a new URL from the client. Instead, the framework will handle content updates internally, and the UVE should rely on postMessage to fetch and update the data. This approach will eliminate redundant reloads, ensuring a faster and smoother user experience.
rjvelazco
changed the title
UVE: Avoid Changing iframe URL in Headless Mode for Faster Content Updates
[SPIKE] UVE: Avoid Changing iframe URL in Headless Mode for Faster Content Updates
Jan 17, 2025
rjvelazco
changed the title
[SPIKE] UVE: Avoid Changing iframe URL in Headless Mode for Faster Content Updates
UVE: Avoid Changing iframe URL in Headless Mode for Faster Content Updates
Jan 17, 2025
Parent Issue
#30943
Background
Currently, in headless mode, every time the client sends a new URL, the UVE reloads the iframe. However, modern frameworks, using our hooks, are capable of handling content updates efficiently without the need for a full iframe reload. This results in an unnecessary double reload, slowing down the process and reducing performance.
Overview
When operating in headless mode, we should avoid modifying the iframe URL upon receiving a new URL from the client. Instead, the framework will handle content updates internally, and the UVE should rely on postMessage to fetch and update the data. This approach will eliminate redundant reloads, ensuring a faster and smoother user experience.
Video
31139-uve-avoid-changing-iframe-url-in-headless-mode-for-faster-content-updates-1.mov
Task
postMessage
: Update the data dynamically throughpostMessage
without reloading the iframe.Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
Acceptance Criteria
Acceptance Criteria
The text was updated successfully, but these errors were encountered: