
varnish-bugs at varnish-cache
May 16, 2012, 6:30 AM
Post #1 of 2
(124 views)
Permalink
|
|
#1139: default_keep makes objects stay around too long
|
|
#1139: default_keep makes objects stay around too long ----------------------+----------------------------------------------------- Reporter: martin | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: varnishd | Version: trunk Severity: normal | Keywords: ----------------------+----------------------------------------------------- In some "forced expiry" situations (e.g. purge from vcl), the default_keep parameter will make the objects stay in cache longer than expected. One possible solution is to use EXP_Clr() always (the ban mechanism uses this), which resets also the entered time, causing the ttl to be very negative. Another solution is to not take these parameters into account at ttl calculation time, but set the keep and grace of an object to the values of these parameters at the time the object is created (instead of -1). See attached varnishtest script. -- Ticket URL: <https://www.varnish-cache.org/trac/ticket/1139> Varnish <https://varnish-cache.org/> The Varnish HTTP Accelerator _______________________________________________ varnish-bugs mailing list varnish-bugs [at] varnish-cache https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
|