diff --git a/doc/wget.texi b/doc/wget.texi index a7d96d35..591dbf72 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -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. diff --git a/src/wget.h b/src/wget.h index 35b1ef1c..50b28518 100644 --- a/src/wget.h +++ b/src/wget.h @@ -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 */