Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa regola viene attivata quando PageSpeed Insights rileva la necessità di ulteriori tempi di round trip a livello di rete per visualizzare i contenuti above the fold della pagina.
Panoramica
Se la quantità di dati richiesti supera la finestra di congestione iniziale (in genere una compressione di 14,6 kB), saranno necessari ulteriori round trip tra il tuo server e il browser dell'utente. Per gli utenti che utilizzano reti con latenze elevate come le reti per dispositivi mobili, questo può generare ritardi significativi nel caricamento della pagina.
Suggerimenti
Per caricare le pagine più velocemente, puoi limitare le dimensioni dei dati (markup HTML, immagini, CSS, JavaScript) necessari a eseguire il rendering dei contenuti above the fold della pagina.
Puoi farlo in diversi modi:
Struttura il documento HTML in modo che carichi i contenuti above the fold più importanti per primi
Carica i contenuti principali della pagina per primi. Struttura la pagina in modo che la risposta iniziale del server invii i dati necessari per visualizzare immediatamente la parte critica della pagina e rimandare il resto.
Ciò può significare che devi suddividere il tuo CSS in due parti: una parte in linea responsabile dello stile della parte ATF dei contenuti e la parte che può essere differita.
Consulta i seguenti esempi di ristrutturazione di un sito in modo che venga caricato più rapidamente:
Se il documento HTML carica widget di terze parti prima dei contenuti principali, modifica l'ordine per caricare questi ultimi per primi.
Se il tuo sito utilizza un design a due colonne con una barra di navigazione laterale e un articolo ma il documento HTML carica per prima la barra, valuta la possibilità di anticipare il caricamento dell'articolo.
Riduci la quantità di dati utilizzati dalle tue risorse
Dopo che il tuo sito è stato riprogettato per funzionare bene su più dispositivi e caricare prima i contenuti critici, utilizza le seguenti tecniche per ridurre la quantità di dati necessari per visualizzare la pagina:
Minimizza le risorse. Le risorse HTML, CSS e JavaScript possono essere minimizzate rimuovendo i commenti e gli spazi vuoti superflui. È possibile ottimizzare ulteriormente le risorse attraverso l'utilizzo di strumenti in grado di rinominare i nomi delle variabili in esse contenute.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThis PageSpeed Insights rule is triggered when additional network round trips are needed to render above-the-fold content.\u003c/p\u003e\n"],["\u003cp\u003eTo optimize, prioritize loading critical above-the-fold content first by restructuring HTML and reducing resource sizes.\u003c/p\u003e\n"],["\u003cp\u003eReduce data size by minifying resources, using CSS instead of images where possible, and enabling compression.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation refers to a deprecated version of PageSpeed Insights API; the latest version is 5.\u003c/p\u003e\n"]]],["The core issue addressed is the delay in page loading caused by excessive data transfer required to render above-the-fold content. Key actions include structuring HTML to prioritize critical content, loading it first, and deferring non-essential parts. Recommendations involve reducing data size by minifying resources (HTML, CSS, JavaScript), using CSS instead of images when feasible, and enabling compression. The document advises optimizing content loading to avoid additional network round trips and improve page speed.\n"],null,["# Reduce the size of the above-the-fold content\n\n| **Deprecated** . This page was written for version 4 of the PageSpeed Insights API, which is deprecated and will be shut down in May 2019. [Version 5](/speed/docs/insights/v5/get-started) is the latest and provides both real-world data from the Chrome User Experience Report and lab data from Lighthouse.\n\n\nThis rule triggers when PageSpeed Insights detects that additional network round trips are required to render the above the fold content of the page.\n\n### Overview\n\n\nIf the amount of data required exceeds the initial congestion window (typically 14.6kB compressed), it will require additional round trips between your server and the user's browser. For users on networks with high latencies such as mobile networks this can cause significant delays to page loading.\n\n### Recommendations\n\nTo make pages load faster, limit the size of the data (HTML markup, images, CSS, JavaScript) that is needed to render the above-the-fold content of your page. There are several ways to do this:\n\n- [Structure your HTML to load the critical, above-the-fold content first](#structure)\n- [Reduce the amount of data used by your resources](#reduce)\n\n#### Structure your HTML to load the critical, above-the-fold content first\n\n\nLoad the main content of your page first. Structure your page so the initial response from your server sends the data necessary to render the critical part of the page immediately and defer the rest.\nThis may mean that you must split your CSS into two parts: an inline part that is responsible for styling the ATF portion of the content, and the part that can be deferred.\n\n\nConsider the following examples of how a site could be restructured to load faster:\n\n- If your HTML loads third-party widgets before it loads the main content, change the order to load the main content first.\n- If your site uses a two-column design with a navigation sidebar and an article, but your HTML loads the sidebar before the article, consider loading the article first.\n\n#### Reduce the amount of data used by your resources\n\nOnce your site has been redesigned to work well across multiple devices and load the critical content first, use the following techniques to reduce the amount of data required to render your page:\n\n- [Minify Resources](/speed/docs/insights/MinifyResources): HTML, CSS, and JavaScript can be minified by removing unnecessary whitespace and comments. Further optimizations may be possible through the use of tools which rename variable names in your resources.\n- Consider [using CSS instead of images](https://www.google.com/search?q=css+instead+of+images) where possible.\n- [Enable Compression](/speed/docs/insights/EnableCompression)\n\nFeedback\n--------\n\nWas this page helpful? \nYes Great! Thank you for the feedback. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on [Stack\n| Overflow](https://stackoverflow.com/questions/tagged/pagespeed-insights). For general questions, feedback, and discussion, start a thread in the [mailing list](https://groups.google.com/forum/#!forum/pagespeed-insights-discuss).\nNo Sorry to hear that. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on [Stack\n| Overflow](https://stackoverflow.com/questions/tagged/pagespeed-insights). For general questions, feedback, and discussion, start a thread in the [mailing list](https://groups.google.com/forum/#!forum/pagespeed-insights-discuss)."]]