All language subtitles for 004 Checking & Optimizing Our Code_Downloadly.ir_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Now let's start with step number one

in this lecture.

Let's double check our code

and verify that we're happy with it.

Now for this I'm back in this blog project

which we worked on in the last course section.

If you didn't follow along there,

you find my latest snapshot attached.

Just be aware that the MongoDB credentials I'm using here,

won't work for you.

This is my cluster and I invalidated this user

and its password after recording this course.

So you will need to bring your own MongoDB database

and your own connection string

to make that API route work.

Other than that you can continue

with what I shared here as an attachment.

And therefore, now we want to double check this setup

and see if we're happy with it.

Now, of course, such a validation is an ongoing process

and you will always find improvement potential,

but generally what we have here shouldn't be too bad.

We are, for example, already using Nextimage.

So the optimized images in all the places

where we are working with images,

even in our post contents.

Even there we make sure that images

that are part of our posts are rendered with Nextimage.

And that is a great optimization

because that loads images only when they are needed.

It loads them lazily, and it also shrinks them in size.

Now, speaking of lazy loading,

that also is a concept we know in general in React,

and most prominently when working with just React,

without NextJS, you might want to lazy load your routes.

So that the code for a given page

is only downloaded if you're visiting that page,

and it's not downloaded if you not visit the page.

The great thing here is that NextJS

has this kind of lazy loading built in.

You don't need to worry about it.

Your different pages, which we have here,

are already lazy loaded.

So the code for them is only fetched on demand,

when we visit a page.

So that built-in lazy loading

is a very nice feature to have.

Now regarding the metadata, which we should add.

I'm happy with the amount of metadata, like title,

and this description tag I added in the last course section.

Of course, there is more you might want to add.

Favicons, images which are displayed

if you share a page through Facebook or Twitter.

So these little preview images and so on.

These are all extra kinds of data

you could add into your head section,

but for this demo here for this project,

the current amount of metadata which we added,

is fine for me.

And therefore at the moment, I'm happy with that code.

I think it should be fine

but we will soon revalidate this

by doing a test build, of course.

Nonetheless, for the moment let's move on to the next step.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.