diff options
| author | Mihai Parparita <mihai@tailscale.com> | 2022-08-02 15:02:26 -0700 |
|---|---|---|
| committer | Mihai Parparita <mihai.parparita@gmail.com> | 2022-08-02 16:52:06 -0700 |
| commit | 52d769d35c971bae39ee2bbbd27b130382555489 (patch) | |
| tree | 243e4cda575a252145c2bd8e517920796e0c8947 /control/controlknobs/controlknobs.go | |
| parent | f04bc3182005d874a105592b201404448bdaf05d (diff) | |
| download | tailscale-52d769d35c971bae39ee2bbbd27b130382555489.tar.xz tailscale-52d769d35c971bae39ee2bbbd27b130382555489.zip | |
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>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
