Unikaj czekania na zdarzenia wczytania
Przegląd
Ten audyt pozwala sprawdzić, czy podczas wczytywania strony pierwsze żądanie reklamy jest blokowane. Same żądania reklamy nie wchodzą w interakcje z DOM ani nie są zależne od pełnego wczytania strony. Dlatego zalecamy jak najszybsze wysyłanie żądań reklamy, aby przyspieszyć wczytywanie reklam.
Rekomendacje
Usuń logikę, która uniemożliwia wysyłanie żądań reklamy przed uruchomieniem zdarzeń load
lub domContentLoaded
strony.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-06-26 UTC.
[null,null,["Ostatnia aktualizacja: 2024-06-26 UTC."],[[["This audit verifies if the initial ad request is delayed until after the page load event, potentially slowing down ad loading times."],["Ad requests can be made before the page fully loads, as they don't depend on the DOM."],["Optimize ad loading speed by removing any code that prevents ad requests before the `load` or `domContentLoaded` events."]]],["The audit verifies if the initial ad request is blocked during a page load. Ad requests are independent of the DOM and do not require a fully loaded page. It's advised to initiate ad requests as early as possible to accelerate ad loading. To improve ad loading speed, logic that delays ad requests until after the `load` or `domContentLoaded` events should be removed.\n"]]