Preložiť "service worker" do Portugalčina

Zobrazuje sa 50 z 50 prekladov frázy "service worker" z Angličtina do Portugalčina

Preklad Angličtina do Portugalčina z service worker

Angličtina
Portugalčina

EN Another metric developers who use service worker may care about is the service worker startup time for navigation requests

PT Outra métrica que pode interessar aos desenvolvedores que usam o service worker é o tempo de inicialização do service worker para solicitações de navegação

Angličtina Portugalčina
metric métrica
developers desenvolvedores
navigation navegação
is é
the o
another outra
for de
may pode
time tempo
requests solicitações

EN Registering a service worker involves only a few lines of code, but the only reason you'd use a service worker is to make it possible to implement one of the PWA features outlined above

PT O registro de um service worker envolve apenas algumas linhas de código, mas o único motivo pelo qual você utilizaria um ervice worker é para possibilitar a implementação de um dos recursos do PWA descritos acima

Angličtina Portugalčina
involves envolve
pwa pwa
code código
reason motivo
features recursos
is é
lines linhas
a um
the o
above acima
of do
but mas

EN After the service worker is installed, use the Permissions API to query for periodic-background-sync. You can do this from either a window or a service worker context.

PT Depois que o service worker estiver instalado, use a API de permissões para consultar a periodic-background-sync . Você pode fazer isso a partir de uma janela ou de um contexto de service worker.

Angličtina Portugalčina
permissions permissões
window janela
context contexto
installed instalado
api api
or ou
service service
you você
a um
can pode
the o
from partir
is estiver

EN In trained-to-thrill I worked around this by using XHR instead of fetch, and abusing the Accept header to tell the Service Worker where to get the result from (page code, Service Worker code).

PT No Treinamento para supreender, contornei isso usando XHR em vez de buscar e abusando do cabeçalho Aceitar para informar ao Trabalho de Serviço onde obter o resultado do código da página, código do Trabalho de Serviço).

Angličtina Portugalčina
fetch buscar
header cabeçalho
code código
the o
accept aceitar
using usando
service serviço
result resultado
page página
where onde
worked trabalho
in em
instead em vez de
of do
and e

EN Does not register a service worker that controls page and start_url. A service worker can cache common resources on a user's device, reducing time spent fetching resources over the network.

PT Não registra um trabalho de serviço que controla a página e start_url. Um trabalho de serviço pode armazenar em cache recursos comuns no dispositivo de um usuário, reduzindo o tempo gasto na busca de recursos na rede.

Angličtina Portugalčina
users usuário
reducing reduzindo
spent gasto
a um
page página
cache cache
device dispositivo
time tempo
network rede
service serviço
controls controla
can pode
resources recursos
common comuns
the o
not não
and e
that que
over de

EN When he sees an opportunity to help the worker in becoming better at his job, then he helps the worker but without commanding him to work differently, but instead by helping him solve a problem together

PT Quando eleuma oportunidade para ajudar o trabalhador a se tornar melhor em seu trabalho, ele ajuda o trabalhador, mas sem o comando para que ele trabalhe de forma diferente, mas sim ajudando-o a resolver um problema juntos

Angličtina Portugalčina
opportunity oportunidade
worker trabalhador
solve resolver
better melhor
without sem
helping ajudando
work trabalho
a um
to work trabalhe
in em
the o
problem problema
when quando
help ajudar
helps ajuda
but mas

EN Recover failed worker nodes Inspect, troubleshoot, and remediate worker nodes in a variety of failure scenarios.

PT Recuperação de nós de trabalho com falha Inspecione, solucione problemas e corrija nós de trabalho em variados cenários de falha.

Angličtina Portugalčina
recover recuperação
scenarios cenários
troubleshoot solucione
nodes nós
failure falha
a trabalho
in em
of de
and e

EN A cross-border worker differs from a migrant worker in that they live in one country and work in another, having a dual national relationship, i.e. a tax relationship with both countries.

PT O trabalhador fronteiriço distingue-se do trabalhador migrante pelo facto de residir num país e trabalhar noutro, tendo uma dupla filiação nacional, ou seja, uma ligação fiscal a ambos os países.

Angličtina Portugalčina
worker trabalhador
tax fiscal
national nacional
countries países
country país
dual dupla
e e
live se
in de
a uma
with tendo
that seja

EN The Service Worker API provides the foundations of the web push notifications API. Service Workers typically do much more than just push, so if you use push you should be familiar with them.

PT A API do Service Worker fornece as bases da API de notificações push da Web. Trabalhadores de Serviço normalmente fazem muito mais do que apenas push, então se você usar empurrão você deve estar familiarizado com eles.

Angličtina Portugalčina
foundations bases
notifications notificações
typically normalmente
familiar familiarizado
api api
web web
push push
if se
provides fornece
workers trabalhadores
service serviço
you você
should deve
do fazem
more mais
just apenas
so então
use usar
of do
much muito
the as

EN The caches API is available from pages as well as service workers, meaning you don't need to involve the service worker to add things to the cache.

PT A API de caches está disponível nas páginas e também nos trabalhos de serviço, o que significa que você não precisa envolvê-lo para adicionar coisas ao cache.

Angličtina Portugalčina
caches caches
api api
cache cache
pages páginas
service serviço
you você
need precisa
is é
the o
from de
available disponível
things coisas
to significa
add adicionar

EN This allows the Service Worker to be awoken in response to a message from the OS's messaging service

PT Isso permite que o Trabalho de Serviço seja despertado em resposta a uma mensagem do serviço de mensagens do sistema operacional

Angličtina Portugalčina
allows permite
message mensagem
service serviço
in em
the o
a uma
be seja
messaging mensagens

EN The native app relies on iOS or Android’s SDK features while the PWA relies on the service worker set up in the browser

PT O aplicativo nativo depende de recursos do SDK do iOS ou Android, enquanto o PWA depende do Service Worker configurado no navegador

Angličtina Portugalčina
native nativo
ios ios
sdk sdk
pwa pwa
browser navegador
app aplicativo
or ou
features recursos
the o
set up configurado
in de

EN A service worker is a script that is run in the background by the browser

PT Um service worker é um script que corre no plano de fundo do navegador

Angličtina Portugalčina
script script
browser navegador
a um
is é
background fundo
run corre
in de

EN Depending on network availability, the service worker, acting as a proxy, will serve elements from its cache or will retrieve them over the network on the server

PT Dependendo da disponibilidade da rede, o service worker, agindo como um proxy, servirá elementos da sua cache ou irá os recuperar ao longo da rede do servidor

Angličtina Portugalčina
depending dependendo
availability disponibilidade
proxy proxy
serve servir
cache cache
retrieve recuperar
network rede
or ou
a um
server servidor
as como
elements elementos
the o
will irá

EN To ensure that this power is used for the good, it's only possible to register a service worker on a page served over https

PT Para assegurar que seu poder é usado para um bom fim, só é possivel registar um service worker numa página servida por https

Angličtina Portugalčina
power poder
good bom
https https
is é
page página
used usado
a um
service service
the numa
to register registar
to fim
that que

EN It guarantees that the service worker installed on the browser has not been tampered with

PT Isto garante que o service worker instalado no navegador não foi adulterado

Angličtina Portugalčina
installed instalado
browser navegador
the o
service service
on no
not não
guarantees garante

EN Mock Service Worker offers an alternative approach of intercepting requests in the browser

PT Mock Service Worker oferece uma abordagem alternativa para interceptar solicitações no navegador

Angličtina Portugalčina
alternative alternativa
approach abordagem
requests solicitações
browser navegador
mock mock
offers oferece
service service
in no
the uma

EN Like Mountebank, Mock Service Worker is run outside the browser as a Node.js process for testing network interactions

PT Como Mountebank, o Mock Service Worker é executado fora do navegador como um processo Node.js para testar interações de rede

Angličtina Portugalčina
browser navegador
js js
testing testar
network rede
interactions interações
mock mock
node node
a um
process processo
the o
is é
as como

EN Apply route-level code splitting to minimize the size of your JavaScript bundles. Also, consider precaching assets with the Angular service worker.

PT Aplique a divisão de código no nível da rota para minimizar o tamanho de seus pacotes de JavaScript. Além disso, considere pré-armazenar em cache os ativos com o trabalhador de serviço Angular.

Angličtina Portugalčina
code código
minimize minimizar
javascript javascript
bundles pacotes
consider considere
assets ativos
angular angular
worker trabalhador
level nível
route rota
service serviço
size tamanho
of de
also é
your seus
the o

EN The native app relies on iOS or Android’s SDK features while the PWA relies on the service worker set up in the browser

PT O aplicativo nativo depende de recursos do SDK do iOS ou Android, enquanto o PWA depende do Service Worker configurado no navegador

Angličtina Portugalčina
native nativo
ios ios
sdk sdk
pwa pwa
browser navegador
app aplicativo
or ou
features recursos
the o
set up configurado
in de

EN A service worker is a script that is run in the background by the browser

PT Um service worker é um script que corre no plano de fundo do navegador

Angličtina Portugalčina
script script
browser navegador
a um
is é
background fundo
run corre
in de

EN Depending on network availability, the service worker, acting as a proxy, will serve elements from its cache or will retrieve them over the network on the server

PT Dependendo da disponibilidade da rede, o service worker, agindo como um proxy, servirá elementos da sua cache ou irá os recuperar ao longo da rede do servidor

Angličtina Portugalčina
depending dependendo
availability disponibilidade
proxy proxy
serve servir
cache cache
retrieve recuperar
network rede
or ou
a um
server servidor
as como
elements elementos
the o
will irá

EN To ensure that this power is used for the good, it's only possible to register a service worker on a page served over https

PT Para assegurar que seu poder é usado para um bom fim, só é possivel registar um service worker numa página servida por https

Angličtina Portugalčina
power poder
good bom
https https
is é
page página
used usado
a um
service service
the numa
to register registar
to fim
that que

EN It guarantees that the service worker installed on the browser has not been tampered with

PT Isto garante que o service worker instalado no navegador não foi adulterado

Angličtina Portugalčina
installed instalado
browser navegador
the o
service service
on no
not não
guarantees garante

EN When installed, a service worker runs in the browser background and can intercept requests from the server

PT Quando instalado, um service worker é executado em segundo plano do navegador e pode interceptar solicitações do servidor

Angličtina Portugalčina
installed instalado
browser navegador
intercept interceptar
a um
in em
can pode
requests solicitações
server servidor
and e
when quando
from segundo

EN The following chart shows how LCP distributions have been reduced on a site using this pattern:Largest Contentful Paint distribution, for page loads with and without a service worker - philipwalton.com

PT O gráfico a seguir mostra como as distribuições de LCP foram reduzidas em um site usando este padrão:Distribuição de Largest Contentful Paint para carregamento de páginas com e sem service worker - philipwalton.com

Angličtina Portugalčina
chart gráfico
shows mostra
lcp lcp
distributions distribuições
reduced reduzidas
pattern padrão
distribution distribuição
largest largest
paint paint
loads carregamento
a um
site site
service service
page páginas
without sem
the o
this este
how como
and e

EN The chart shows the distribution for LCP from a single site over the last 28 days, segmented by service worker state

PT O gráfico mostra a distribuição de LCP de um único site nos últimos 28 dias, segmentado pelo estado do service worker

Angličtina Portugalčina
chart gráfico
shows mostra
distribution distribuição
lcp lcp
state estado
last últimos
a um
site site
single único
days dias
the o

EN Notice how far more page loads have a faster LCP value after cache-first HTML page serving was introduced in the service worker (blue portion of chart).

PT Observe como aumentou o número de carregamentos de página com LCP mais rápido depois que o serviço de páginas HTML usando a estratégia cache-first foi introduzida no service worker (parte azul do gráfico).

Angličtina Portugalčina
lcp lcp
html html
chart gráfico
was foi
notice com
page página
service serviço
blue azul
more mais
the o
a número
far de
faster mais rápido
value usando
of do

EN The service worker startup time for a particular navigation request can be determined from the delta between entry.responseStart and entry.workerStart.

PT O tempo de inicialização do service worker para uma solicitação de navegação específica pode ser determinado a partir do delta entre entry.responseStart e entry.workerStart .

Angličtina Portugalčina
navigation navegação
delta delta
request solicitação
can pode
from partir
time tempo
be ser
the o
a uma
and e

EN Precaching critical resources using a service worker can reduce their load times significantly, especially for users who reload the web page with a weaker connection (or even access it offline)

PT O pré-cache de recursos críticos usando um service worker pode reduzir seus tempos de carregamento significativamente, especialmente para usuários que recarregam a página web com uma conexão mais fraca (ou mesmo a acessam offline)

Angličtina Portugalčina
reduce reduzir
load carregamento
especially especialmente
offline offline
users usuários
web web
page página
or ou
access acessam
service service
can pode
significantly significativamente
resources recursos
a um
the o
connection conexão
even mesmo

EN Libraries like Workbox can make the process of updating precached assets easier than writing a custom service worker to handle this yourself.

PT Bibliotecas como a Workbox podem deixar o processo de atualização de ativos pré-armazenados mais fácil do que escrever um service worker personalizado para lidar com isso você mesmo.

Angličtina Portugalčina
libraries bibliotecas
assets ativos
can podem
handle lidar
process processo
a um
easier mais fácil
the o
of do
to deixar
writing escrever

EN Add a service worker to your app.

PT Adicione um service worker ao seu aplicativo.

Angličtina Portugalčina
add adicione
a um
to ao
your seu
service service
app aplicativo

EN Use the service worker to cache files locally.

PT Use o service worker para armazenar arquivos em cache localmente.

Angličtina Portugalčina
locally localmente
cache cache
files arquivos
the o
service service
use use
to em

EN When offline, use the service worker as a network proxy to return the locally cached version of the file.

PT Quando estiver offline, use o service worker como proxy de rede para retornar a versão do arquivo armazenada localmente em cache.

Angličtina Portugalčina
offline offline
network rede
proxy proxy
locally localmente
cached em cache
file arquivo
use use
the o
return para
when quando
of do

EN Does not register a service worker that controls page and start_url

PT Não registra um service worker que controla a página e start_url

Angličtina Portugalčina
service service
controls controla
a um
page página
not não
and e
that que
does o

EN How to register a service worker

PT Como registrar um service worker

Angličtina Portugalčina
a um
service service
register registrar
to como

EN Lighthouse flags pages that don't register a service worker:

PT O Lighthouse sinaliza páginas que não registram um service worker:

Angličtina Portugalčina
pages páginas
service service
lighthouse lighthouse
a um
that que

EN How to register a service worker #

PT Como registrar um service worker #

Angličtina Portugalčina
a um
service service
register registrar
to como

EN Source code for Does not register a service worker that controls page and start_url audit

PT Código fonte para a auditoria Não registra um service worker que controla a página e start_url

Angličtina Portugalčina
service service
a um
page página
audit auditoria
code código
controls controla
and e
does o
start para
that que
source fonte
for a

EN Periodic background sync lets you show fresh content when a progressive web app or service worker-backed page is launched

PT A sincronização periódica em segundo plano permite que você mostre conteúdo novo quando um aplicativo da web progressivo ou página apoiada pelo service worker é iniciado

Angličtina Portugalčina
sync sincronização
lets permite
show mostre
fresh novo
content conteúdo
progressive progressivo
launched iniciado
backed apoiada
a um
web web
app aplicativo
or ou
is é
you você
page página
when quando

EN A common example is using a push notification to wake a service worker

PT Um exemplo comum é usar uma notificação push para despertar um service worker

Angličtina Portugalčina
common comum
example exemplo
push push
notification notificação
is é
using usar
service service
a um
to para

EN For instance, one-off background sync as well as push notifications allow a web app's logic to live a little longer (via its service worker) after a person has closed the page

PT Por exemplo, a sincronização única em segundo plano, bem como notificações push, permitem que a lógica de um aplicativo da web viva um pouco mais (por meio de seu service worker) depois que uma pessoa fecha a página

Angličtina Portugalčina
sync sincronização
well bem
push push
notifications notificações
allow permitem
logic lógica
web web
service service
page página
live viva
longer mais
apps aplicativo
a um
the a
little pouco
person pessoa

EN When your service worker wakes up to handle a periodicsync event, you have the opportunity to request data, but not the obligation to do so

PT Quando seu service worker acorda para lidar com um periodicsync , você tem a oportunidade de solicitar dados, mas não a obrigação de fazê-lo

Angličtina Portugalčina
service service
handle lidar
data dados
obligation obrigação
opportunity oportunidade
a um
the a
you você
request solicitar
do fazê-lo
when quando
but mas

EN To respond to a periodic background sync event add a periodicsync event handler to your service worker

PT Para responder a um evento periódico de sincronização em segundo plano, adicione um periodicsync ao seu service worker

Angličtina Portugalčina
sync sincronização
event evento
add adicione
service service
a um
respond responder
to a
your seu

EN They discovered that a food service worker handled food while infectious at this place between April 26,

PT Eles descobriram que um funcionário do serviço de alimentação manipulava alimentos enquanto estava infeccioso

Angličtina Portugalčina
discovered descobriram
worker funcionário
a um
service serviço
food alimentos
between de
that que

EN Service Worker lets you handle requests independently from caching, so I'll demonstrate them separately. First up, caching, when should it be done?

PT O Trabalho de Serviço permite que você lide com solicitações independentemente do armazenamento em cache. Portanto, irei demonstrá-los separadamente. Em primeiro lugar, o armazenamento em cache, quando deve ser feito?

Angličtina Portugalčina
lets permite
independently independentemente
separately separadamente
done feito
requests solicitações
service serviço
you você
caching cache
be ser
when quando
should deve
so portanto
first primeiro
from de

EN If the promise rejects, the installation is considered a failure and this Service Worker will be abandoned (if an older version is running, it'll be left intact)

PT Se a promessa for rejeitada, a instalação será considerada uma falha e este Trabalho de Serviço será abandonado (se uma versão mais antiga estiver em execução, será deixada intacta)

Angličtina Portugalčina
promise promessa
considered considerada
failure falha
abandoned abandonado
if se
service serviço
installation instalação
be ser
older mais
the a
will será
this este
a uma
running em
and e
is estiver

EN The Service Worker may be killed while levels 11–20 download since it's finished handling events, meaning they won't be cached

PT O Trabalho de Serviço pode ser eliminado durante o download dos níveis 11–20, uma vez que concluiu o tratamento de eventos, o que significa que eles não serão armazenados em cache

EN Once a new Service Worker has installed and a previous version isn't being used, the new one activates, and you get an activate event

PT Depois que um novo Trabalho de Serviço é instalado e uma versão anterior não está sendo usada, a nova é ativada e você obtém um evento activate

Angličtina Portugalčina
installed instalado
used usada
event evento
service serviço
a um
you você
the a
get obtém
and e
previous anterior

EN The Push API is another feature built on top of Service Worker

PT A API Push é outro recurso criado com base no Trabalho de Serviço

Angličtina Portugalčina
push push
api api
built criado
of de
is é
feature recurso
service serviço
the a
another outro
on no

Zobrazuje sa 50 z 50 prekladov