From 96598f93dcc4ee86194cf7535906e3c84720d0b0 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 13 Oct 2013 10:55:11 -0700 Subject: [PATCH] Add cache_miss_revalidate Port of 2.7 ignore_ims_on_miss directive. This on/off switch enables Squid to convert conditional requests from clients to non-conditional fetches that can fill the cache faster under cold-start conditions. --- configure.ac | 16 ++++++++-------- doc/release-notes/release-3.3.sgml | 12 ++++++++---- src/SquidConfig.h | 1 + src/cache_cf.cc | 8 ++++++++ src/cf.data.pre | 30 ++++++++++++++++++++++++------ src/http.cc | 26 ++++++++++++++++++++++---- 6 files changed, 71 insertions(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index d238d694bc..40b2391568 100644 --- a/configure.ac +++ b/configure.ac @@ -55,14 +55,14 @@ fi # might be cross-compiling. if test "x$HOSTCXX" = "x"; then HOSTCXX="$CXX" - if test "x$squid_cv_check_marchnative" = "xyes"; then - CXXFLAGS="$CXXFLAGS -march=native" - fi -fi -if test "x$squid_cv_check_marchnative" = "xyes"; then - # always valid for the Host compiler. - HOSTCXX="$HOSTCXX -march=native" -fi +# if test "x$squid_cv_check_marchnative" = "xyes"; then +# CXXFLAGS="$CXXFLAGS -march=native" +# fi +fi +#if test "x$squid_cv_check_marchnative" = "xyes"; then +# # always valid for the Host compiler. +# HOSTCXX="$HOSTCXX -march=native" +#fi AC_SUBST(HOSTCXX) AC_MSG_CHECKING([simplified host os]) diff --git a/doc/release-notes/release-3.3.sgml b/doc/release-notes/release-3.3.sgml index 9183e37418..5264ba9b9d 100644 --- a/doc/release-notes/release-3.3.sgml +++ b/doc/release-notes/release-3.3.sgml @@ -180,6 +180,12 @@ This section gives a thorough account of those changes in three categories: New tags