Iβm running into a weird issue with lightning:container and could really use your insights. βοΈ The Setup: I built an Aura component using lightning:container to embed an external app (index.html from a static resource). Everything works perfectly when only one instance is added to a record page. The Problem: When I add multiple instances of the same component: β
First Load: All instances render fine. π Page Refresh (F5 or Cmd+R): All lightning:container iframes fail to load β each one throws a:403 Forbidden: https://.../MatrixRuntime/index.html?...
β
Workaround: A hard refresh (empty cache + reload) fixes it temporarily β but obviously not ideal. π§ͺ Code Snippet:
<div aura:id="exampleContainer" style="{!v.height ? 'height: ' + v.height + 'px;' : 'height:95%'}"> <lightning:container aura:id="exampleContainer1" src="{!$Resource.exampleContainer+ '/index.html'}" onmessage="{!c.handleMessageFromLightningContainer}" /> </div> β Questions: Why does this only break on refresh (not initial load) with multiple instances? Could this be a known limitation or quirk of lightning:container? Appreciate any thoughts especially if you've hit this before π Thanks in advance!