xref: /curl/docs/cmdline-opts/alt-svc.md (revision e7219c2b)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: alt-svc
5Arg: <filename>
6Protocols: HTTPS
7Help: Enable alt-svc with this cache file
8Added: 7.64.1
9Category: http
10Multi: append
11See-also:
12  - resolve
13  - connect-to
14Example:
15  - --alt-svc svc.txt $URL
16---
17
18# `--alt-svc`
19
20Enable the alt-svc parser. If the filename points to an existing alt-svc cache
21file, that gets used. After a completed transfer, the cache is saved to the
22filename again if it has been modified.
23
24Specify a "" filename (zero length) to avoid loading/saving and make curl just
25handle the cache in memory.
26
27If this option is used several times, curl loads contents from all the
28files but the last one is used for saving.
29