# Tachyon - 페이지 로딩을 빠르게 해주는 스크립트

> Clean Markdown view of GeekNews topic #8959. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=8959](https://news.hada.io/topic?id=8959)
- GeekNews Markdown: [https://news.hada.io/topic/8959.md](https://news.hada.io/topic/8959.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-04-15T10:02:01+09:00
- Updated: 2023-04-15T10:02:01+09:00
- Original source: [github.com/weebney](https://github.com/weebney/tachyon)
- Points: 24
- Comments: 3

## Topic Body

- 사이트내 네비게이션 속도를 빠르게 해줌   
- 마우스 포인터가 링크위에 올라가면 해당 페이지를 프리로드해주는 방식  
  - a 태그위에 50ms 이상 머물면 `&lt;link rel="prefetch" href="..."&gt;` 를 자동 생성하여 페이지를 프리로드   
  - 마우스가 태그를 떠나면 해당 태그를 지워서 다운로드를 취소   
- 모바일에서는 호버대신 탭 이벤트를 이용

## Comments



### Comment 15680

- Author: iolothebard
- Created: 2023-04-15T16:22:39+09:00
- Points: 1

이게 nextjs 기본동작인데... 이거랑 겹치면 볼만하겠...

### Comment 15678

- Author: joyfui
- Created: 2023-04-15T13:16:29+09:00
- Points: 1

오 아이디어 좋네요. rel=prerender를 이렇게 활용하다니. 근데 전 파이어폭스 사용 중ㅠㅠ

### Comment 15677

- Author: weebney
- Created: 2023-04-15T11:19:17+09:00
- Points: 2

Atlanta에서 안녕하세요! 제 스크립트를 올려주셔서 감사합니다. 잘 활용해 보세요!
