tailscale/cmd/tsconnect
Mihai Parparita 52d769d35c cmd/tsconnect: prefetch main.wasm when serving
Avoids waterfalling of requests from the file (its load is triggered
from JavaScript).

Also has other cleanups to index.html, adding a <title> and moving the
<script> to being loaded sooner (but still not delaying page rendering
by using the defer attribute).

Fixes #5141
Fixes #5135

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2022-08-02 16:52:06 -07:00
..
dist cmd/tsconnect: initial scaffolding for Tailscale Connect browser client 2022-07-19 13:43:08 -07:00
src cmd/tsconnect: make terminal resizable 2022-08-02 15:30:40 -07:00
wasm cmd/tsconnect: make terminal resizable 2022-08-02 15:30:40 -07:00
.gitignore cmd/tsconnect: initial scaffolding for Tailscale Connect browser client 2022-07-19 13:43:08 -07:00
build.go cmd/tsconnect: add -fast-compression option 2022-08-02 16:52:06 -07:00
common.go cmd/tsconnect: prefetch main.wasm when serving 2022-08-02 16:52:06 -07:00
dev.go cmd/tsconnect: initial scaffolding for Tailscale Connect browser client 2022-07-19 13:43:08 -07:00
index.html cmd/tsconnect: prefetch main.wasm when serving 2022-08-02 16:52:06 -07:00
package.json cmd/tsconnect: make terminal resizable 2022-08-02 15:30:40 -07:00
serve.go cmd/tsconnect: prefetch main.wasm when serving 2022-08-02 16:52:06 -07:00
tailwind.config.js cmd/tsconnect: add Tailwind CSS support and switch to using it 2022-07-27 14:05:45 -07:00
tsconfig.json cmd/tsconnect: switch to TypeScript 2022-07-27 13:50:34 -07:00
tsconnect.go cmd/tsconnect: add -fast-compression option 2022-08-02 16:52:06 -07:00
yarn.lock cmd/tsconnect: make terminal resizable 2022-08-02 15:30:40 -07:00