[privacy] — download third-party assets at build time and serve them
from the site itself. Fetching, caching and rewriting live in
Core::Build::Privacy. See docs/content/features/privacy.md.
Constants
VALID_ON_ERROR = ["warn-and-keep", "fail"] of ::
StringInstance methods
cache_ttl
How long a downloaded file is reused without asking the network.
SourceHow long a downloaded file is reused without asking the network.
Sourceexclude
Hosts never localized; wins over include.
SourceHosts never localized; wins over include.
Sourceinclude
Hosts to localize; empty = every external host.
SourceHosts to localize; empty = every external host.
Sourceon_error
"warn-and-keep" (leave the external URL) | "fail"
Source"warn-and-keep" (leave the external URL) | "fail"
Sourceoutput_dir
Directory under the build output that holds the downloaded files.
Sourceoutput_dir=(output_dir :
String)
Directory under the build output that holds the downloaded files.
Source