Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F16238495
no-hfm-timer-reset.vtc
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
ema
Mar 27 2018, 4:00 PM
2018-03-27 16:00:35 (UTC+0)
Size
571 B
Referenced Files
None
Subscribers
None
no-hfm-timer-reset.vtc
View Options
varnishtest "do not reset hitmiss timer"
server s1 {
rxreq
txresp
rxreq
txresp
rxreq
txresp
} -start
varnish v1 -vcl+backend {
sub vcl_backend_response {
// HFM
set beresp.ttl = 3s;
set beresp.grace = 0s;
set beresp.uncacheable = true;
return(deliver);
}
} -start
client c1 {
txreq
rxresp
} -run
varnish v1 -expect cache_hitmiss == 0
client c2 {
txreq
rxresp
} -run
varnish v1 -expect cache_hitmiss == 1
client c3 {
delay 3
txreq
rxresp
} -run
varnish v1 -expect cache_hitmiss == 1
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5673953
Default Alt Text
no-hfm-timer-reset.vtc (571 B)
Attached To
Mode
P6906 no-hfm-timer-reset.vtc
Attached
Detach File
Event Timeline
Log In to Comment