<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername"></b> <span dir="ltr"><<a href="mailto:varnish-misc-request@varnish-cache.org">varnish-misc-request@varnish-cache.org</a>></span><br>
Date: Mon, Mar 26, 2012 at 2:42 AM<br>Subject: varnish-misc Digest, Vol 72, Issue 31<br>To: <a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br><br><br>Send varnish-misc mailing list submissions to<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:varnish-misc-request@varnish-cache.org">varnish-misc-request@varnish-cache.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:varnish-misc-owner@varnish-cache.org">varnish-misc-owner@varnish-cache.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of varnish-misc digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: How to make Varnish not caching response if they do not<br>
have proper cache header? (Jonathan Matthews)<br>
2. How do I install Varnish? (Kunmi Sheba Foods)<br>
3. Invitation to connect on LinkedIn (Rodrigo Benzaquen)<br>
4. Re: How do I install Varnish? (Bj?rn Ruberg)<br>
5. Re: How do I install Varnish? (Bj?rn Ruberg)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 25 Mar 2012 12:10:19 +0200<br>
From: Jonathan Matthews <<a href="mailto:contact@jpluscplusm.com">contact@jpluscplusm.com</a>><br>
To: <a href="mailto:varnish-misc@projects.linpro.no">varnish-misc@projects.linpro.no</a><br>
Subject: Re: How to make Varnish not caching response if they do not<br>
have proper cache header?<br>
Message-ID:<br>
<CAKsTx7D3QQCkWOjoSKHdY5Mw5b=<a href="mailto:4bUrVg1R0CCG6QLNNdXS4Vg@mail.gmail.com">4bUrVg1R0CCG6QLNNdXS4Vg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On 25 March 2012 05:15, Ryan Chan <<a href="mailto:ryanchan404@gmail.com">ryanchan404@gmail.com</a>> wrote:<br>
> Seems?Varnish?is caching too aggressively, e.g. I have a?index.php?does not<br>
> send out?last-modifieid,cache-control, Varnish still cache it.<br>
><br>
> my default.vcl<br>
><br>
> backend default {<br>
> .host = "127.0.0.1";<br>
> .port = "8080";<br>
> }<br>
><br>
> Is it possible to turn off this strange behaviors?<br>
<br>
Your responses are probably being cached because of the default<br>
default_ttl setting, which you'll find detailed a little way down<br>
<a href="https://www.varnish-cache.org/docs/3.0/reference/varnishd.html#run-time-parameters" target="_blank">https://www.varnish-cache.org/docs/3.0/reference/varnishd.html#run-time-parameters</a>.<br>
<br>
However, rather than changing that run-time setting, you may want to<br>
force Varnish always to contact the back-end next time for those<br>
resources which don't dictate an explicit TTL. This would be both more<br>
visible and more tunable, later on.<br>
<br>
This VCL would achieve that goal, I believe (untested, but taken from the docs):<br>
<br>
sub vcl_fetch {<br>
if (beresp.ttl <= 0s) {<br>
# Mark as "Hit-For-Pass" for the next 2 minutes<br>
set beresp.ttl = 120s;<br>
return (hit_for_pass);<br>
}<br>
}<br>
<br>
HTH,<br>
Jonathan<br>
--<br>
Jonathan Matthews<br>
London, Oxford, UK<br>
<a href="http://www.jpluscplusm.com/contact.html" target="_blank">http://www.jpluscplusm.com/contact.html</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 25 Mar 2012 07:43:28 -0400<br>
From: "Kunmi Sheba Foods" <<a href="mailto:kunmi@shebafoods.com">kunmi@shebafoods.com</a>><br>
To: <<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>><br>
Subject: How do I install Varnish?<br>
Message-ID: <45b7355d$3b356779$a17dcb5$@com><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hello everyone,<br>
<br>
<br>
Can someone please share answers to my questions:<br>
<br>
<br>
1. I am using regular linux and downloaded Varnish Cache 3.0.2<br>
varnish-3.0.2.tar<br>
<br>
where do I put the files?<br>
<br>
<br>
2. I read here<br>
<a href="https://www.varnish-cache.org/docs/3.0/installation/install.html#source-or-p" target="_blank">https://www.varnish-cache.org/docs/3.0/installation/install.html#source-or-p</a><br>
ackages to run commands, but don't know where am to be to run the backups.<br>
<br>
- should I be in one of the folders in the tar file above to run the<br>
commands?<br>
<br>
<br>
3. What messages should I see to confirm that Varnish is properly<br>
installed?<br>
<br>
<br>
4. Please share any other pertinent information.<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/9b853873/attachment-0001.html" target="_blank">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/9b853873/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 25 Mar 2012 19:41:18 +0000 (UTC)<br>
From: Rodrigo Benzaquen <<a href="mailto:rodrigo@mercadolibre.com">rodrigo@mercadolibre.com</a>><br>
To: <<a href="mailto:varnish-misc@projects.linpro.no">varnish-misc@projects.linpro.no</a>><br>
Subject: Invitation to connect on LinkedIn<br>
Message-ID:<br>
<261577587.3946197.1332704478214.JavaMail.app@ela4-bed78.prod><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
LinkedIn<br>
------------<br>
<br>
<br>
<br>
I'd like to add you to my professional network on LinkedIn.<br>
<br>
- Rodrigo<br>
<br>
Rodrigo Benzaquen<br>
R & D Director at MercadoLibre<br>
Argentina<br>
<br>
Confirm that you know Rodrigo Benzaquen:<br>
<a href="https://www.linkedin.com/e/-j8jd37-h08hu4n6-1r/isd/6425721744/ZcqHxnut/?hs=false&tok=0CRQno2AutX581" target="_blank">https://www.linkedin.com/e/-j8jd37-h08hu4n6-1r/isd/6425721744/ZcqHxnut/?hs=false&tok=0CRQno2AutX581</a><br>
<br>
--<br>
You are receiving Invitation to Connect emails. Click to unsubscribe:<br>
<a href="http://www.linkedin.com/e/-j8jd37-h08hu4n6-1r/qj8gVubsam-VZpZ14ta9Vubs2iYTPmz3_bp9EIbbG4Y_Sw3/goo/varnish-misc%40projects%2Elinpro%2Eno/20061/I2229723267_1/?hs=false&tok=0XYnlzE_StX581" target="_blank">http://www.linkedin.com/e/-j8jd37-h08hu4n6-1r/qj8gVubsam-VZpZ14ta9Vubs2iYTPmz3_bp9EIbbG4Y_Sw3/goo/varnish-misc%40projects%2Elinpro%2Eno/20061/I2229723267_1/?hs=false&tok=0XYnlzE_StX581</a><br>
<br>
(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/da5c6883/attachment-0001.html" target="_blank">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/da5c6883/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 25 Mar 2012 22:18:55 +0200<br>
From: Bj?rn Ruberg <<a href="mailto:bjorn@ruberg.no">bjorn@ruberg.no</a>><br>
To: <a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
Subject: Re: How do I install Varnish?<br>
Message-ID: <<a href="mailto:4F6F7DAF.3010108@ruberg.no">4F6F7DAF.3010108@ruberg.no</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
On 25. mars 2012 13:43, Kunmi Sheba Foods wrote:<br>
> Hello everyone,<br>
><br>
> Can someone please share answers to my questions:<br>
><br>
> 1. I am using regular linux [...]<br>
<br>
What kind of Linux is that? You might want to specify your choice of<br>
Linux distribution, so we can help you better. Given proper information,<br>
Varnish will probably be way easier to install than what you're<br>
currently doing.<br>
<br>
--<br>
Bj?rn<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/6a117ccb/attachment-0001.html" target="_blank">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/6a117ccb/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sun, 25 Mar 2012 23:12:41 +0200<br>
From: Bj?rn Ruberg <<a href="mailto:bjorn@ruberg.no">bjorn@ruberg.no</a>><br>
To: <a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
Subject: Re: How do I install Varnish?<br>
Message-ID: <<a href="mailto:4F6F8A49.8040105@ruberg.no">4F6F8A49.8040105@ruberg.no</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
On 25. mars 2012 22:43, Kunmi Sheba Foods wrote:<br>
> Many thanks for your response. I am using linux centos 5.8.6, perl<br>
> version 5.8.8, Kernel version 2.6.18-238.9.1.el5PAE<br>
<br>
Then the proper release is available as documented at<br>
<a href="https://www.varnish-cache.org/releases/varnish-cache-3.0.2" target="_blank">https://www.varnish-cache.org/releases/varnish-cache-3.0.2</a>.<br>
<br>
> I look forward to your step-by-step instructions.<br>
<br>
No such luck. Please see<br>
<a href="https://www.varnish-cache.org/installation/redhat" target="_blank">https://www.varnish-cache.org/installation/redhat</a>. Varnish is a power<br>
tool for experienced administrators and if you're not able to install it<br>
without step-by-step instructions, Varnish might not be what you're after.<br>
<br>
> Have a good day!<br>
<br>
You too, and for future reference please 1) respond to the list, and 2)<br>
stop top-posting.<br>
<br>
--<br>
Bj?rn<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/5827723b/attachment.html" target="_blank">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/5827723b/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
<br>
End of varnish-misc Digest, Vol 72, Issue 31<br>
********************************************<br>
</div><br>