Documentation
¶
Overview ¶
Package precompress provides build-time support for precompressing static resources (using Zstandard), to avoid the cost of repeatedly compressing unchanging resources. Serving the resulting variants is handled by tailscale.com/tsweb/compserve.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Precompress ¶ added in v1.34.0
func PrecompressDir ¶
PrecompressDir compresses static assets in dirPath using Zstandard.
Types ¶
Click to show internal directories.
Click to hide internal directories.