commit 716d24274a2cdc3c3ee9e611a785b0ba0a2e868b
parent 28deb99835fea6cf066124c7798b3f32ac1bdcf7
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Mon, 18 Aug 2014 23:50:05 +0200
Adding Cache-Control headers
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/telize b/telize
@@ -24,6 +24,8 @@ server {
gzip off;
location ~ /ip$ {
+ add_header Cache-Control no-cache;
+
charset off;
default_type text/plain;
@@ -59,6 +61,8 @@ server {
location /jsonify {
access_log off;
+ add_header Cache-Control no-cache;
+
charset utf-8;
default_type application/json;