[Refactor] improve dashboard page performance #198
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π λμ보λ νμ΄μ§ LCP κ°μ
π λ³κ²½ μ¬ν μμ½
π κ΄λ ¨ μ΄μ
π λ³κ²½ μ¬ν μμΈ μ€λͺ
μ¬μ©νμ§ μλ javascript μ€μ΄κΈ°
λμ보λ νμ΄μ§λ₯Ό μ΅μ΄ μ€ν νμ λ not-found.jsκ° 98%μ λ μ¬μ©νμ§ μλ jsμ΄λ€.
λ΄λΆμ Sidebar μ»΄ν¬λνΈλ₯Ό λμ λΌμ°ν μΌλ‘ λ³κ²½ν ν λ€μ μΈ‘μ νλ λλΆλΆμ΄ μ€μ΄λ€κ² λμλ€.
λν λ μ΄μμμμμ μ¬μ΄λλ°λ μ€μλ€.
preconnect μ€μ
preconnect, dns-prefetchλ₯Ό ν΅ν΄ μλ² μλ΅ μλλ₯Ό μν ν₯μμμΌ°λ€.
μ΄μ
μ μ©ν
νλ‘μ° μ΄λ―Έμ§ μ΅μ ν
κΈ°μ‘΄ 10κ°μ© λ‘λνλ apiμμ 6κ°λ‘ μ€μ΄κ³
priorityλ₯Ό λͺ¨λ°μΌ κΈ°μ€ λ³΄μ΄λ 3κ°μ μ΄λ―Έμ§μλ§ μ μ©μμΌ°λ€.
μ΅μ’ μ μΌλ‘ LCP 2.4μ΄ κ°μμμΌ°λ€....
μ½λ κ°λ μ± κ°μ
β νμΈ μ¬ν
πΈ μ€ν¬λ¦°μ· (μ ν μ¬ν)
λ³κ²½ μ¬νμ μκ°μ μΌλ‘ νμΈν μ μλ μ€ν¬λ¦°μ·μ μ¬κΈ°μ 첨λΆν΄μ£ΌμΈμ.
κΈ°ν μ°Έκ³ μ¬ν
μΆκ°λ‘ 곡μ νκ³ μΆμ λ΄μ©μ΄λ μ°Έκ³ μλ£κ° μλ€λ©΄ μ¬κΈ°μ μμ±ν΄μ£ΌμΈμ.