Tachyon

Make your site faster than light in <1 minute; instant page loads in 738 by...

README

Tachyon


Tachyon is a byte sized script that makes your website feel blazingly fast. It does this by prerendering pages before a user navigates to them, making page transitions virtually instant.

Documentation for Tachyon lives at fasterthanlight.net

Quick Links:

Website (Start here)
NPM package
Package source
Why Tachyon exists

Easy Setup Instructions:

Google Tag Manager
Shopify
Squarespace
Webflow
Wix
WordPress

|   |   |   |   |   |
| :--- | :--- | :--- | :--- | :--- |
| Size| 738 b| 3.14 kb(4.3x larger)| 60.1 kb(83x larger)| 111 kb(153x larger) |
| BandwidthOverhead| Lowest| Low| Highest| High |
| Prerendering(Fastest Loads)| ✅| ❌| ✅| ❌ |
| No Addl.Code Required| ✅| ✅| ❌| ❌ |
| Works onALL links| ✅| ❌| ❌| ❌ |
| Whitelist &Blacklist| ✅| ❌| ❌| ❌ |

Using Tachyon


Using Tachyon is unbelieveably easy. If you're not using node, you can just include it via script tags. Provided below is the script hosted by unpkg . The source itself lives in the tachyon directory .

  1. ``` html
  2. <script src="https://unpkg.com/tachyonjs@2.0.1/tachyon.min.js" integrity="sha384-4iJteL1FYnj4Ju83AJvNthpx5gZ1QaXCamXhY3lxhAjTNXUN+NXq5LQV/fXOSRme" type="module" crossorigin defer></script>
  3. ```

If you look on the website, there are also easy install instructions for Google Tag Manager , Shopify , WordPress , and more.

Node


  1. ``` shell
  2. npm i tachyonjs
  3. ```

Inline


Tachyon is super tiny, so you can also inline it. If you use the following inlined `