steve bullman Posted November 2, 2022 Report Posted November 2, 2022 I was advised by my developer to use Asynchronous JS for display ads, but it is considerably slower than using Javascript method. Whilst Javascript loads instantly, there is a clear second delay if I use JS. Is there a way to improve this? Tim Vereecke 1 Quote
Tim Vereecke Posted November 6, 2022 Report Posted November 6, 2022 Using Async JS should make the rest of the page (without the ads) load faster because rendering is not blocked while the JS snippet dowloads. Are you seeing a delay in your ads? or also a delay of the page contents? And what do you mean with considerable? Quote
steve bullman Posted November 15, 2022 Author Report Posted November 15, 2022 On 11/6/2022 at 3:18 PM, scalemates said: And what do you mean with considerable? See for yourself https://staging.arbtalk.co.uk/ Quote
Tim Vereecke Posted March 14 Report Posted March 14 (edited) hi Steve, When you test performance of asynchronous make sure to have ALL your zones using the asynchronous method. The reason is: The asynchronous method sends the actual zone invocation request on DOMContentLoaded. However the synchronous version delays this DOMContentLoaded event. This is also true when the async zone is before any sync zone (like seen in your screenshot) For example if on your PRD site you would add a single zone using asynchronous it would for synchronous zones to load which delay the yellow line (=DOMContentLoaded) Edited March 14 by Tim Vereecke Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.