• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: alt-svc
5Arg: <file name>
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
20This option enables the alt-svc parser in curl. If the file name points to an
21existing alt-svc cache file, that gets used. After a completed transfer, the
22cache is saved to the file name again if it has been modified.
23
24Specify a "" file name (zero length) to avoid loading/saving and make curl
25just handle 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