From 6c4504c19ac250d30fa55ff50fc427a7de8e356e Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Le=20Ninivin?= Date: Fri, 1 Aug 2014 16:12:08 +0200 Subject: [PATCH] apache-frontend: fix trafficserver configuration to accept no-cache request --- software/apache-frontend/common.cfg | 2 +- .../apache-frontend/templates/trafficserver/records.config.jinja2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/software/apache-frontend/common.cfg b/software/apache-frontend/common.cfg index db8bf27..318d021 100644 --- a/software/apache-frontend/common.cfg +++ b/software/apache-frontend/common.cfg @@ -160,7 +160,7 @@ md5sum = 8cde04bfd0c0e9bd56744b988275cfd8 [template-trafficserver-records-config] recipe = hexagonit.recipe.download url = ${:_profile_base_location_}/templates/trafficserver/${:filename} -md5sum = 950a19be225a25309a3bda3f61fb5f6a +md5sum = 5fe62579fed44244b8e6b220bc598597 location = ${buildout:parts-directory}/${:_buildout_section_name_} filename = records.config.jinja2 download-only = true diff --git a/software/apache-frontend/templates/trafficserver/records.config.jinja2 b/software/apache-frontend/templates/trafficserver/records.config.jinja2 index 1e7fb05..b761fc7 100644 --- a/software/apache-frontend/templates/trafficserver/records.config.jinja2 +++ b/software/apache-frontend/templates/trafficserver/records.config.jinja2 @@ -228,8 +228,8 @@ CONFIG proxy.config.http.cache.http INT 1 # Enabling this setting allows the proxy to cache empty documents. This currently # requires that the response has a Content-Length: header, with a value of "0". CONFIG proxy.config.http.cache.allow_empty_doc INT 0 -CONFIG proxy.config.http.cache.ignore_client_no_cache INT 1 -CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 1 +CONFIG proxy.config.http.cache.ignore_client_no_cache INT 0 +CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 0 CONFIG proxy.config.http.cache.ignore_server_no_cache INT 0 CONFIG proxy.config.http.cache.ignore_client_cc_max_age INT 0 CONFIG proxy.config.http.normalize_ae_gzip INT 0 -- 2.1.4