diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-03-23 23:28:20 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-03-23 23:28:20 +0000 |
commit | 1745773f305ca3818f78aa802818486f37a99347 (patch) | |
tree | cbd184fd837722b696122a5339deda3bfde9a39b /main/http.c | |
parent | 9a6bf5f9c666c8634aec068f8c6f0b1470d6c60c (diff) |
Allow browsers to cache images and other static content.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/http.c')
-rw-r--r-- | main/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c index 27ae40711..934eaf011 100644 --- a/main/http.c +++ b/main/http.c @@ -213,7 +213,7 @@ static struct ast_str *static_callback(struct ast_tcptls_session_instance *ser, "Server: Asterisk/%s\r\n" "Date: %s\r\n" "Connection: close\r\n" - "Cache-Control: no-cache, no-store\r\n" + "Cache-Control: private\r\n" "Content-Length: %d\r\n" "Content-type: %s\r\n\r\n", ast_get_version(), buf, (int) st.st_size, mtype); |