function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GeetuGeetu 

Hi, how can we reduce the time of loading the iframe in lighting component. Can somebody please help.

AshishkAshishk
What are you opening in an iframe? If VF page. Please see below:-

https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005otRQAQ (https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005otRQAQ" target="_blank)

Thanks.
GeetuGeetu
Hi Ashish, we are opening a word document 
 <iframe aura:id="vfFrame" style="border: 1px solid;width:100%;height :500px" src="{!v.DocumnetUrl}" scroll='true'/> 
      
Opening of the word document is taking like 5 sec, we need to reduce this time . 
AshishkAshishk
What is the Document url value? can you share sample?
NagendraNagendra (Salesforce Developers) 
Hi Yadav,

May I suggest you please raise a case with Salesforce support team for a better and quick assistance on the above issue.

You may reach them at the below email address. Could you also capture the Network tab's contents in Chrome dev tools or equivalent tooling that shows the network requests for your scenario and post it here? There are many possible locations where the slowdown could be happening and this will help us eliminate many of them.

Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
GeetuGeetu
thanks for replying.