Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Misc

How to keep object even TTL expired.

 

 

Varnish misc RSS feed   Index | Next | Previous | View Threaded


carrot at carrotis

Apr 6, 2012, 8:53 AM

Post #1 of 2 (208 views)
Permalink
How to keep object even TTL expired.

Hello


* Environment. - varnish3.0.2

When TTL expired , varnish unconditionally delete object and then
re-get object from origin even same object.
I want to keep object if it's same thing and I tried to use
'beresp.keep' , but it's not working.

Please show me sample VCL.

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


perbu at varnish-software

Apr 7, 2012, 12:25 PM

Post #2 of 2 (193 views)
Permalink
Re: How to keep object even TTL expired. [In reply to]

Hi Calvin,

On Fri, Apr 6, 2012 at 5:53 PM, Calvin Park <carrot [at] carrotis> wrote:

>
> * Environment. - varnish3.0.2
>
> When TTL expired , varnish unconditionally delete object and then
> re-get object from origin even same object.
> I want to keep object if it's same thing and I tried to use
> 'beresp.keep' , but it's not working.
>


Varnish doesn't do this (yet).


> Please show me sample VCL.
>

You might want to go over the docs or the "Varnish book".

--
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>

Varnish misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.