반응형
최적화
-
웹 사이트 성능 최적화_ (feat. 해보진 않았지만 알아 본다.)공부 2023. 5. 19. 17:44
웹 사이트 성능 최적화 웹 사이트 성능 최적화.... 시니어 자격요건이나 우대사항에 나와 있는 그놈!!!! (❗ 내가 알고 어렴풋이 알고 있는 거(추측)라고는.... ) 1. 웹 사이트 성능 최적화는 로딩 속도와 관련된 게 아닐까? 👉 로딩 시간 몇 초 차이로 사이트 이탈률도 높아지니까 중요할 거 같다. 👉 구글에서는 최적 사용자 경험을 위해서는 3초 이하 페이지 로딩 시간 추천한다고 함 실제로 나도 몇 초 이상 기다리다가 사이트 나가버린 적이 많았지...😥 2. 그럼 코드의 양을 불필요하게 늘리면 안되겠구나! 코드를 최적화하자. 👉 내가 불필요하게 테스트한다고 적어놓고 주석처리 해놨던 코드들 👉 반복되는 코드들 👉 사용하지 않는 코드는 없애고, 반복되는 코드는 제거할 필요가 있겠다! 👉 리팩토링(코드 ..