Pre-hiding code snippet slowing down page load speed

Avatar

Avatar

alexe58360872

Avatar

alexe58360872

alexe58360872

28-05-2020

Good Morning Everyone,

I have  a question regarding the pre-hiding code snippet which is required when deploying Target via Launch.  We had to remove the code snippet as it was causing a 3 second delay in page loads.  Has anyone ever come across this issue?  If so, how was it resolved?

Thank you very much,

Alex

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ben68

Employee

Avatar

ben68

Employee

ben68
Employee

30-05-2020

Hi Alex,

 

Pre-hiding snippet is required when Launch is loaded asynchronously. Loading Launch asynchronously is a non-blocking approach. The timeout configuration (3 seconds) in the pre-hiding snippet is the maximum timeout for Target response. With the right implementation, Launch script is added to the page in the right location, page will be visible as soon as Target responds which is usually 400ms. My recommendation is to revisit the implementation and make sure that Launch is added in the correct location on the page. 

 

Thanks,
Bala

Answers (2)

Answers (2)

Avatar

Avatar

gaureshk3014423

Avatar

gaureshk3014423

gaureshk3014423

28-05-2020

Hi @alexe58360872 

Have you tried minimising the timeout for prehiding snippet in launch?

 

Avatar

Avatar

ben68

Employee

Avatar

ben68

Employee

ben68
Employee

26-06-2020

Hi Alex,

You can find the implementation steps and example in this link https://docs.adobe.com/content/help/en/core-services-learn/implementing-in-websites-with-launch/conf....

Thanks,

Bala