mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 05:40:08 +08:00
docs: --no-cache also sets the 'Cache-Control: no-cache' header
* doc/wget.texi: Add Cache-Control to docs * src/wget.h: Add Cache-Control to comment of SEND_NOCACHE Copyright-paperwork-exempt: Yes
This commit is contained in:
parent
caf30fbe28
commit
9e7c1554bd
@ -1402,10 +1402,10 @@ to the inability of server-side scripts to cope with the connections.
|
||||
@cindex cache
|
||||
@item --no-cache
|
||||
Disable server-side cache. In this case, Wget will send the remote
|
||||
server an appropriate directive (@samp{Pragma: no-cache}) to get the
|
||||
file from the remote service, rather than returning the cached version.
|
||||
This is especially useful for retrieving and flushing out-of-date
|
||||
documents on proxy servers.
|
||||
server appropriate directives (@samp{Cache-Control: no-cache} and
|
||||
@samp{Pragma: no-cache}) to get the file from the remote service,
|
||||
rather than returning the cached version. This is especially useful
|
||||
for retrieving and flushing out-of-date documents on proxy servers.
|
||||
|
||||
Caching is allowed by default.
|
||||
|
||||
|
@ -332,7 +332,7 @@ enum
|
||||
or application/xhtml+xml */
|
||||
RETROKF = 0x0002, /* retrieval was OK */
|
||||
HEAD_ONLY = 0x0004, /* only send the HEAD request */
|
||||
SEND_NOCACHE = 0x0008, /* send Pragma: no-cache directive */
|
||||
SEND_NOCACHE = 0x0008, /* send Cache-Control: no-cache and Pragma: no-cache directive */
|
||||
ACCEPTRANGES = 0x0010, /* Accept-ranges header was found */
|
||||
ADDED_HTML_EXTENSION = 0x0020, /* added ".html" extension due to -E */
|
||||
TEXTCSS = 0x0040, /* document is of type text/css */
|
||||
|
Loading…
Reference in New Issue
Block a user