+ 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
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)