Fwd: varnish-misc Digest, Vol 72, Issue 31

vimlesh tripathi tripathi.vimlesh at gmail.com
Mon Mar 26 10:26:31 CEST 2012


---------- Forwarded message ----------
From: <varnish-misc-request at varnish-cache.org>
Date: Mon, Mar 26, 2012 at 2:42 AM
Subject: varnish-misc Digest, Vol 72, Issue 31
To: varnish-misc at varnish-cache.org


Send varnish-misc mailing list submissions to
       varnish-misc at varnish-cache.org

To subscribe or unsubscribe via the World Wide Web, visit
       https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
or, via email, send a message with subject or body 'help' to
       varnish-misc-request at varnish-cache.org

You can reach the person managing the list at
       varnish-misc-owner at varnish-cache.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of varnish-misc digest..."


Today's Topics:

  1. Re: How to make Varnish not caching response if they do not
     have      proper cache header? (Jonathan Matthews)
  2. How do I install Varnish? (Kunmi Sheba Foods)
  3. Invitation to connect on LinkedIn (Rodrigo Benzaquen)
  4. Re: How do I install Varnish? (Bj?rn Ruberg)
  5. Re: How do I install Varnish? (Bj?rn Ruberg)


----------------------------------------------------------------------

Message: 1
Date: Sun, 25 Mar 2012 12:10:19 +0200
From: Jonathan Matthews <contact at jpluscplusm.com>
To: varnish-misc at projects.linpro.no
Subject: Re: How to make Varnish not caching response if they do not
       have    proper cache header?
Message-ID:
       <CAKsTx7D3QQCkWOjoSKHdY5Mw5b=4bUrVg1R0CCG6QLNNdXS4Vg at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 25 March 2012 05:15, Ryan Chan <ryanchan404 at gmail.com> wrote:
> Seems?Varnish?is caching too aggressively, e.g. I have a?index.php?does
not
> send out?last-modifieid,cache-control, Varnish still cache it.
>
> my default.vcl
>
> backend default {
>     .host = "127.0.0.1";
>     .port = "8080";
> }
>
> Is it possible to turn off this strange behaviors?

Your responses are probably being cached because of the default
default_ttl setting, which you'll find detailed a little way down
https://www.varnish-cache.org/docs/3.0/reference/varnishd.html#run-time-parameters
.

However, rather than changing that run-time setting, you may want to
force Varnish always to contact the back-end next time for those
resources which don't dictate an explicit TTL. This would be both more
visible and more tunable, later on.

This VCL would achieve that goal, I believe (untested, but taken from the
docs):

sub vcl_fetch {
 if (beresp.ttl <= 0s) {
   # Mark as "Hit-For-Pass" for the next 2 minutes
   set beresp.ttl = 120s;
   return (hit_for_pass);
 }
}

HTH,
Jonathan
--
Jonathan Matthews
London, Oxford, UK
http://www.jpluscplusm.com/contact.html



------------------------------

Message: 2
Date: Sun, 25 Mar 2012 07:43:28 -0400
From: "Kunmi Sheba Foods" <kunmi at shebafoods.com>
To: <varnish-misc at varnish-cache.org>
Subject: How do I install Varnish?
Message-ID: <45b7355d$3b356779$a17dcb5$@com>
Content-Type: text/plain; charset="us-ascii"

Hello everyone,


Can someone please share answers to my questions:


1. I am using regular linux and downloaded Varnish Cache 3.0.2
varnish-3.0.2.tar

   where do I put the files?


2. I read here
https://www.varnish-cache.org/docs/3.0/installation/install.html#source-or-p
ackages to run commands, but don't know where am to be to run the backups.

-  should I be in one of the folders in the tar file above to run the
commands?


3. What messages should I see to confirm that Varnish is properly
installed?


4.  Please share any other pertinent information.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/9b853873/attachment-0001.html
>

------------------------------

Message: 3
Date: Sun, 25 Mar 2012 19:41:18 +0000 (UTC)
From: Rodrigo Benzaquen <rodrigo at mercadolibre.com>
To: <varnish-misc at projects.linpro.no>
Subject: Invitation to connect on LinkedIn
Message-ID:
       <261577587.3946197.1332704478214.JavaMail.app at ela4-bed78.prod>
Content-Type: text/plain; charset="utf-8"

LinkedIn
------------



I'd like to add you to my professional network on LinkedIn.

- Rodrigo

Rodrigo Benzaquen
R & D Director at MercadoLibre
Argentina

Confirm that you know Rodrigo Benzaquen:
https://www.linkedin.com/e/-j8jd37-h08hu4n6-1r/isd/6425721744/ZcqHxnut/?hs=false&tok=0CRQno2AutX581

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
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

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043,
USA.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/da5c6883/attachment-0001.html
>

------------------------------

Message: 4
Date: Sun, 25 Mar 2012 22:18:55 +0200
From: Bj?rn Ruberg <bjorn at ruberg.no>
To: varnish-misc at varnish-cache.org
Subject: Re: How do I install Varnish?
Message-ID: <4F6F7DAF.3010108 at ruberg.no>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

On 25. mars 2012 13:43, Kunmi Sheba Foods wrote:
> Hello everyone,
>
> Can someone please share answers to my questions:
>
> 1. I am using regular linux [...]

What kind of Linux is that? You might want to specify your choice of
Linux distribution, so we can help you better. Given proper information,
Varnish will probably be way easier to install than what you're
currently doing.

--
Bj?rn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/6a117ccb/attachment-0001.html
>

------------------------------

Message: 5
Date: Sun, 25 Mar 2012 23:12:41 +0200
From: Bj?rn Ruberg <bjorn at ruberg.no>
To: varnish-misc at varnish-cache.org
Subject: Re: How do I install Varnish?
Message-ID: <4F6F8A49.8040105 at ruberg.no>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

On 25. mars 2012 22:43, Kunmi Sheba Foods wrote:
> Many thanks for your response.  I am using linux centos 5.8.6, perl
> version 5.8.8, Kernel version 2.6.18-238.9.1.el5PAE

Then the proper release is available as documented at
https://www.varnish-cache.org/releases/varnish-cache-3.0.2.

> I look forward to your step-by-step instructions.

No such luck. Please see
https://www.varnish-cache.org/installation/redhat. Varnish is a power
tool for experienced administrators and if you're not able to install it
without step-by-step instructions, Varnish might not be what you're after.

> Have a good day!

You too, and for future reference please 1) respond to the list, and 2)
stop top-posting.

--
Bj?rn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/5827723b/attachment.html
>

------------------------------

_______________________________________________
varnish-misc mailing list
varnish-misc at varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

End of varnish-misc Digest, Vol 72, Issue 31
********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120326/eb1ed8a0/attachment.html>


More information about the varnish-misc mailing list