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
Nikhil BujadeNikhil Bujade 

Opening visualforce page in an iframe from lightning loading slowly? Performance issue?

Anyone facing the same?
Best Answer chosen by Nikhil Bujade
AshishkAshishk
If you are using "/apex/vfpage" to open VF page in iframe, it is a change in context and origin as visualforce is loading from lightning.

There are mulitple redirects done before page is loaded if we use relative url, resulting in Performance issue in loading.

Try using absolute URL, please visit below article.

http://ashishsfdc.blogspot.com/2018/09/loading-visualforce-in-iframe.html (http://ashishsfdc.blogspot.com/2018/09/loading-visualforce-in-iframe.html" target="_blank)