PT Neste contexto, rápido significa FCP em menos de um segundo, lento significa FCP em 3 segundos ou mais e moderado é tudo o que está entre os dois
PT Neste contexto, rápido significa FCP em menos de um segundo, lento significa FCP em 3 segundos ou mais e moderado é tudo o que está entre os dois
EN In this context, fast means FCP in under one second, slow means FCP in 3 seconds or more, and moderate is everything in between
PT A primeira impressão que os usuários têm de quão rápido seu site carrega pode ser medida com a First Contentful Paint (FCP)
EN The first impression users have of how fast your site loads can be measured with First Contentful Paint (FCP)
Portugāļu | Angļu |
---|---|
impressão | impression |
usuários | users |
rápido | fast |
site | site |
medida | measured |
fcp | fcp |
PT Atrasos longos na primeira entrada normalmente ocorrem entre a First Contentful Paint (FCP) e a Time to Interactive (TTI) porque a página renderizou parte de seu conteúdo, mas ainda não é interativa de forma confiável
EN Long first input delays typically occur between First Contentful Paint (FCP) and Time to Interactive (TTI) because the page has rendered some of its content but isn't yet reliably interactive
Portugāļu | Angļu |
---|---|
atrasos | delays |
longos | long |
entrada | input |
normalmente | typically |
ocorrem | occur |
time | time |
interativa | interactive |
fcp | fcp |
tti | tti |
PT Para ilustrar como isso pode acontecer, FCP e TTI foram adicionadas à linha do tempo:
EN To illustrate how this can happen, FCP and TTI have been added to the timeline:
Portugāļu | Angļu |
---|---|
ilustrar | illustrate |
pode | can |
acontecer | happen |
adicionadas | added |
fcp | fcp |
tti | tti |
linha do tempo | timeline |
PT Você deve ter notado que há uma boa quantidade de tempo (incluindo três tarefas longas) entre a FCP e a TTI
EN You may have noticed that there's a fair amount of time (including three long tasks) between FCP and TTI, if a user tries to interact with the page during that time (e.g
Portugāļu | Angļu |
---|---|
você | you |
quantidade | amount |
incluindo | including |
tarefas | tasks |
longas | long |
s | s |
fcp | fcp |
tti | tti |
PT First Contentful Paint (FCP) mede quando o navegador exibe o primeiro bit de conteúdo do DOM, como texto ou imagens.
EN First Contentful Paint (FCP) measures when the browser displays the first bit of content from the DOM, like text or images.
Portugāļu | Angļu |
---|---|
navegador | browser |
bit | bit |
ou | or |
fcp | fcp |
dom | dom |
PT A métrica Total Blocking Time (TBT) mede a quantidade total de tempo entre a First Contentful Paint (FCP) e a Time to Interactive (TTI) em que a thread principal foi bloqueado por tempo suficiente para evitar a responsividade da entrada.
EN The Total Blocking Time (TBT) metric measures the total amount of time between First Contentful Paint (FCP) and Time to Interactive (TTI) where the main thread was blocked for long enough to prevent input responsiveness.
Portugāļu | Angļu |
---|---|
métrica | metric |
thread | thread |
bloqueado | blocked |
evitar | prevent |
entrada | input |
fcp | fcp |
tti | tti |
PT O tempo de bloqueio de uma determinada tarefa longa é sua duração superior a 50 ms. E o tempo total de bloqueio de uma página é a soma dos tempos de bloqueio de cada tarefa longa que ocorre entre a FCP e a TTI.
EN The blocking time of a given long task is its duration in excess of 50 ms. And the total blocking time for a page is the sum of the blocking time for each long task that occurs between FCP and TTI.
Portugāļu | Angļu |
---|---|
bloqueio | blocking |
tarefa | task |
longa | long |
ms | ms |
página | page |
ocorre | occurs |
fcp | fcp |
tti | tti |
PT Pesquise para trás pela última tarefa longa antes da janela silenciosa, parando na FCP se nenhuma tarefa longa for encontrada.
EN Search backwards for the last long task before the quiet window, stopping at FCP if no long tasks are found.
Portugāļu | Angļu |
---|---|
pesquise | search |
última | last |
longa | long |
janela | window |
parando | stopping |
se | if |
nenhuma | no |
encontrada | found |
fcp | fcp |
PT A métrica First Contentful Paint (FCP) mede o tempo desde o início do carregamento da página até o momento em que qualquer parte do conteúdo da página é renderizada na tela
EN The First Contentful Paint (FCP) metric measures the time from when the page starts loading to when any part of the page's content is rendered on the screen
Portugāļu | Angļu |
---|---|
métrica | metric |
first | first |
carregamento | loading |
parte | part |
fcp | fcp |
PT Na linha do tempo de carregamento acima, a FCP acontece no segundo quadro, pois é quando os primeiros elementos de texto e imagem são renderizados na tela.
EN In the above load timeline, FCP happens in the second frame, as that's when the first text and image elements are rendered to the screen.
Portugāļu | Angļu |
---|---|
carregamento | load |
acontece | happens |
quadro | frame |
elementos | elements |
texto | text |
imagem | image |
tela | screen |
linha do tempo | timeline |
fcp | fcp |
s | s |
PT Esta é uma distinção importante a ser feita entre a First Contentful Paint (FCP) e a Largest Contentful Paint (LCP), que tem como objetivo medir quando o conteúdo principal da página terminou de carregar.
EN This is an important distinction to make between First Contentful Paint (FCP) and Largest Contentful Paint (LCP) —which aims to measure when the page's main contents have finished loading.
Portugāļu | Angļu |
---|---|
distinção | distinction |
importante | important |
largest | largest |
objetivo | aims |
página | page |
carregar | loading |
fcp | fcp |
lcp | lcp |
PT A FCP pode ser medida em laboratório ou em campo e está disponível nas seguintes ferramentas:
EN FCP can be measured in the lab or in the field, and it's available in the following tools:
Portugāļu | Angļu |
---|---|
a | the |
medida | measured |
laboratório | lab |
ou | or |
campo | field |
e | and |
disponível | available |
ferramentas | tools |
fcp | fcp |
PT Para medir a FCP em JavaScript, você pode usar a API Paint Timing. O exemplo a seguir mostra como criar um PerformanceObserver que escuta uma entrada paint com o nome first-contentful-paint e a registra no console.
EN To measure FCP in JavaScript, you can use the Paint Timing API. The following example shows how to create a PerformanceObserver that listens for a paint entry with the name first-contentful-paint and logs it to the console.
Portugāļu | Angļu |
---|---|
javascript | javascript |
você | you |
api | api |
timing | timing |
entrada | entry |
console | console |
fcp | fcp |
PT Este código mostra como registrar a entrada first-contentful-paint no console, mas medir a FCP em JavaScript é mais complicado. Veja os detalhes abaixo :
EN This code shows how to log the first-contentful-paint entry to the console, but measuring FCP in JavaScript is more complicated. See below for details:
Portugāļu | Angļu |
---|---|
código | code |
mostra | shows |
registrar | log |
entrada | entry |
console | console |
medir | measuring |
javascript | javascript |
complicado | complicated |
veja | see |
detalhes | details |
fcp | fcp |
PT No exemplo acima, a entrada registrada first-contentful-paint informará quando o primeiro elemento de conteúdo foi renderizado. No entanto, em alguns casos, essa entrada não é válida para medir a FCP.
EN In the above example, the logged first-contentful-paint entry will tell you when the first contentful element was painted. However, in some cases this entry is not valid for measuring FCP.
Portugāļu | Angļu |
---|---|
exemplo | example |
entrada | entry |
elemento | element |
casos | cases |
medir | measuring |
conteúdo | contentful |
fcp | fcp |
PT A API pode não relatar tempos de pintura de iframes de origem cruzada , mas para medir corretamente a FCP, você deve considerar todos os quadros. Subquadros podem usar a API para relatar seus tempos de pintura ao quadro pai para agregação.
EN The API may not report paint timings from cross-origin iframes, but to properly measure FCP you should consider all frames. Sub-frames can use the API to report their paint timings to the parent frame for aggregation.
Portugāļu | Angļu |
---|---|
api | api |
relatar | report |
pintura | paint |
iframes | iframes |
origem | origin |
medir | measure |
corretamente | properly |
considerar | consider |
usar | use |
pai | parent |
agregação | aggregation |
fcp | fcp |
PT Em vez de memorizar todas essas diferenças sutis, os desenvolvedores podem usar a biblioteca JavaScript web-vitals para medir a FCP, que já lida com essas diferenças (onde for possível):
EN Rather than memorizing all these subtle differences, developers can use the web-vitals JavaScript library to measure FCP, which handles these differences for you (where possible):
Portugāļu | Angļu |
---|---|
diferenças | differences |
desenvolvedores | developers |
usar | use |
biblioteca | library |
javascript | javascript |
fcp | fcp |
PT Para um exemplo completo de como medir a FCP em JavaScript, consulte o código-fonte de getFCP().
EN You can refer to the source code for getFCP() for a complete example of how to measure FCP in JavaScript.
Portugāļu | Angļu |
---|---|
exemplo | example |
completo | complete |
javascript | javascript |
fonte | source |
código | code |
fcp | fcp |
PT Em alguns casos (como iframes de origem cruzada), não é possível medir a FCP em JavaScript. Consulte a seção de limitações da biblioteca web-vitals para mais detalhes.
EN In some cases (such as cross-origin iframes) it's not possible to measure FCP in JavaScript. See the limitations section of the web-vitals library for details.
Portugāļu | Angļu |
---|---|
casos | cases |
iframes | iframes |
origem | origin |
possível | possible |
javascript | javascript |
consulte | see |
limitações | limitations |
biblioteca | library |
detalhes | details |
fcp | fcp |
PT Para aprender como melhorar a FCP para um site específico, você pode executar uma auditoria de desempenho do Lighthouse e prestar atenção a quaisquer oportunidades específicas ou diagnósticos que a auditoria sugerir.
EN To learn how to improve FCP for a specific site, you can run a Lighthouse performance audit and pay attention to any specific opportunities or diagnostics the audit suggests.
Portugāļu | Angļu |
---|---|
site | site |
você | you |
auditoria | audit |
desempenho | performance |
lighthouse | lighthouse |
oportunidades | opportunities |
ou | or |
fcp | fcp |
PT Se você tem um First Contentful Paint (FCP) ruim e vê a oportunidade "Eliminar recurso de bloqueio de renderização" nas auditorias do Lighthouse, é uma boa ideia dar uma chance ao CSS crítico.
EN If you have poor First Contentful Paint (FCP) and see "Eliminate render-blocking resource" opportunity in Lighthouse audits it's a good idea to give critical CSS a go.
Portugāļu | Angļu |
---|---|
se | if |
ruim | poor |
oportunidade | opportunity |
eliminar | eliminate |
recurso | resource |
bloqueio | blocking |
renderização | render |
auditorias | audits |
lighthouse | lighthouse |
boa | good |
ideia | idea |
css | css |
crítico | critical |
fcp | fcp |
PT Observe que o conteúdo e o código de terceiros podem ter um impacto significativo no FCP.
EN Note that third-party content and code may have a significant impact on FCP.
PT Todas as seis principais plataformas de comércio eletrônico têm pior FCP no celular do que no desktop: menos rápido e mais lento
EN All top-six ecommerce platforms have worse FCP on mobile than desktop: less fast and more slow
PT Observe que o FCP é afetado pela capacidade do dispositivo (capacidade de processamento, memória, etc.), bem como pela conectividade.
EN Note that FCP is affected by device capability (processing power, memory, etc.) as well as connectivity.
PT Precisamos estabelecer por que o FCP é pior no celular do que no desktop. Quais são as causas: conectividade e/ou capacidade do dispositivo ou outra coisa?
EN We need to establish why FCP is worse on mobile than desktop. What are the causes: connectivity and/or device capability, or something else?
Rāda 26 no 26 tulkojumiem