<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.emailquote, li.emailquote, div.emailquote
{mso-style-name:emailquote;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:1.0pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thank you for your quick response.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The version of Varnish is 2.1.4-2.el5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The IE version is 7.0.5370.13<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Nothing is HTTPS.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The backends are on the same box as Varnish. They do point to two different sites we are testing.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>There is a load balancer a CITRIX NetScaler that is in front of Varnish.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m not sure if these sites use external components as I did not develop the site. If this becomes an important issue, I will ask the developers.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>One other note of interest. In retesting everything before sending this email, I learned that everything is working using IE if I go directly to Varnish, however, again one of the two sites is not responding properly when I use IE and go through the CITRIX load balancer to Varnish. I also had a co-worker test on a different machine. He was using the same IE version. He had the same results, however, for whatever reason he had trouble getting to the second website, but got to the first website just fine. Essentially he is having trouble getting to the opposite site that I was having trouble getting to when testing through the CITRIX load balancer to Varnish. Both sites do fine when connecting through CITRIX and make a direct connection to the web servers.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Is there any specific concerns with running Varnish behind a CITRIX load balancer?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Again, any help you can provide on troubleshooting this problem would be appreciated.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Caunter, Stefan [mailto:scaunter@topscms.com] <br><b>Sent:</b> Friday, February 04, 2011 10:58 AM<br><b>To:</b> Bacion, Ray; varnish-misc@varnish-cache.org<br><b>Cc:</b> OA.Lampadmins<br><b>Subject:</b> RE: Varnish not completely loading page from IE 7 browser<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>We need to know which version of varnish.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Which exact version of IE7? Does the page call external components? Anything https? Are the back ends the same? Is there a load balancer?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Stefan Caunter <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Operations<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Torstar Digital<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>m: (416) 561-4871<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> varnish-misc-bounces@varnish-cache.org [mailto:varnish-misc-bounces@varnish-cache.org] <b>On Behalf Of </b>Bacion, Ray<br><b>Sent:</b> February-03-11 2:01 PM<br><b>To:</b> 'varnish-misc@varnish-cache.org'<br><b>Cc:</b> OA.Lampadmins<br><b>Subject:</b> Varnish not completely loading page from IE 7 browser<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Hello, we have installed Varnish on one of our RedHat 5 Linux machines. I have pasted the configuration below. I did remove the real hostnames and IP addresses from the configuration.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>The configuration works fine with Mozilla for sites I have defined, but on IE 7 the “hostname1” site does not completely load. I see the favicon.ico and the title of the page, but the site continues to load without completing or sometimes completing after a long time (minute plus) to load. The second site “shared_73_165” loads just fine. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Please note a week ago I had the same sites defined, but IE had problems loading the “shared_73_165” site but loaded the “hostname1” site just fine. I assume there is some slight difference in the configuration between this week and last to make this change occur, but I don’t know what it would be. Mozilla has always loaded both sites fine.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>I am having trouble identifying the root cause of the problem. Can anyone help me with trying to determine why IE 7 is taking so long to complete the loading of the page if it completes at all? <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>I can also add that a when I look at the varnishncsa output I see that with IE 7 that not all of the elements on the HTML page are being requested, but through Mozilla I do see all the requests. I can also tell you both sites work fine if I bypass Varnish. It also does appear that IE 8 has the same issue although I have not tested with it as much as I have IE 7.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Any help that someone can provide would be appreciated?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>backend hostname1<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>{<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> .host="xxx.xxx.xxx.xxx";.port="80";.max_connections=200;.connect_timeout=10s;.first_byte_timeout=10s;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> .between_bytes_timeout=10s;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>backend shared_73_165<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>{<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> .host="xxx.xxx.xxx.xxx";.port="80";.max_connections=200;.connect_timeout=10s;.first_byte_timeout=10s;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> .between_bytes_timeout=10s;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>sub vcl_recv<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>{<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # Set Backend Server<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.http.host ~ "^hostname1.com" || req.http.host ~ "^test.hostname1.com") { set req.backend = hostname1; }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> else { set req.backend = shared_73_165; }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # Set HTTP Header NS-Client-IP so Apache can log client's IP address.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> set req.http.NS-Client-IP = client.ip;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # If HTTP Header Cache-Contro="no-cache" then purge any cache page that may exist for that URL and pass request on.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.http.Cache-Control ~ "no-cache") { purge_url(req.url); return(pass); }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # If request is not a valid HTTP Method pipe it to the backend it is not cacheable.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.request!="GET" && req.request!="HEAD" && req.request!="PUT" && req.request!="POST" &&<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> req.request!="TRACE" && req.request!="OPTIONS" && req.request!="DELETE")<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> { return (pipe); } /*Non-RFC2616*/<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # If request is not a GET or a HEAD then pass it through since its not cacheable.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.request!="GET" || req.request!="HEAD") { return (pass); }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # Unset cookies on Drupal specific files that should be cached.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.url ~ "^/(files|misc|sites|themes|modules)/" || req.url ~ "\.(txt|ico)$") { unset req.http.Cookie; }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # If request requires Authentication or has a Cookie then it is not cacheable.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.http.Authorization || req.http.Cookie) { return (pass); }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # Normalize and compress content if Encoding starts with gzip or defalte but do not compress binary files.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # @see: <a href="http://varnish.projects.linpro.no/wiki/FAQ/Compression">http://varnish.projects.linpro.no/wiki/FAQ/Compression</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.http.Accept-Encoding) {<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (req.url ~ "\.(jpg|png|gif|gz|tgz|bz2|tbz|mp3|ogg)$") { remove req.http.Accept-Encoding; }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> elsif (req.http.Accept-Encoding ~ "gzip") {set req.http.Accept-Encoding = "gzip"; }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> elsif (req.http.Accept-Encoding ~ "deflate"){set req.http.Accept-Encoding = "deflate"; }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> else {unset req.http.Accept-Encoding; }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # If requested page is currently being processed on another thread to a backend server, server cached page if its not older than 30s.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> set req.grace = 30s;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # Fall back to the default vcl_recv which will call the return(lookup);<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>sub vcl_pipe<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>{<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> set req.http.connection = "close";<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # Fall back to the default vcl_pipe which will call return(pipe);<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>sub vcl_fetch<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>{<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> # If the response from the backend is not a 200, 203, 300, 301, 302, 404 or 410.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> if (!beresp.cacheable) { return (pass); }<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>--------------------------------------------------------</span><span lang=EN-CA style='font-family:"Arial","sans-serif"'> <br></span><b><span lang=EN-CA style='font-size:18.0pt;font-family:"Comic Sans MS"'>Raymond Bacion</span></b><span lang=EN-CA style='font-family:"Arial","sans-serif"'> </span><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif"'> </span><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal style='text-indent:-.25in'><b><span lang=EN-CA style='font-size:10.0pt;font-family:"Arial","sans-serif"'>ITSD Operating System Group</span></b><span lang=EN-CA style='font-family:"Arial","sans-serif"'> <br></span><span lang=EN-CA style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Phone: (573) 522-1468</span><span lang=EN-CA style='font-family:"Arial","sans-serif"'> <br></span><span lang=EN-CA style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Fax : (573) 522-1384</span><span lang=EN-CA style='font-family:"Arial","sans-serif"'> <br></span><span lang=EN-CA style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Email: Ray.Bacion@oa.mo.gov</span><span lang=EN-CA style='font-family:"Arial","sans-serif"'> </span><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>-------------------------------------------------------</span><span lang=EN-CA style='font-family:"Arial","sans-serif"'> </span><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif"'> </span><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div></div></body></html>