Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P9849
set_server_resp_no_store testing on cp1075
Active
Public
Actions
Authored by
•
ema
on Dec 11 2019, 9:42 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Traffic
Referenced Files
F31469484: raw.txt
Dec 11 2019, 9:42 AM
2019-12-11 09:42:58 (UTC+0)
Subscribers
None
# With Session Cookie
09:40:26 ema@cp1075.eqiad.wmnet:~
$ curl -v -H "Cookie: session=ciaoEma" -H "Host: en.wikipedia.org" '127.0.0.1:3128/wiki/Main_Page' 2>&1 | grep -i x-cache
< X-Cache-Int: cp1075 pass
# Notice CacheWriteResult:-
Date:2019-12-11 Time:09:40:29 ConnAttempts:1 ConnReuse:0 TTFetchHeaders:128 ClientTTFB:128 CacheReadTime:0 CacheWriteTime:0 TotalSMTime:129 OriginServer:appservers-rw.discovery.wmnet OriginServerTime:128 CacheResultCode:TCP_MISS CacheWriteResult:- ReqMethod:GET RespStatus:200 OriginStatus:200 ReqURL:http://en.wikipedia.org/wiki/Main_Page ReqHeader:User-Agent:curl/7.52.1 ReqHeader:Host:en.wikipedia.org ReqHeader:X-Client-IP:- ReqHeader:Cookie:session=ciaoEma BerespHeader:Set-Cookie:- BerespHeader:Cache-Control:s-maxage=1209600, must-revalidate, max-age=0 RespHeader:X-Cache-Int:cp1075 pass RespHeader:Backend-Timing:D=124984 t=1576057229877163
# With non-Session Cookie
09:40:29 ema@cp1075.eqiad.wmnet:~
$ curl -v -H "Cookie: banana=potato" -H "Host: en.wikipedia.org" '127.0.0.1:3128/wiki/Main_Page' 2>&1 | grep -i x-cache
< X-Cache-Int: cp1075 miss
# Notice CacheWriteResult:FIN
Date:2019-12-11 Time:09:42:09 ConnAttempts:0 ConnReuse:0 TTFetchHeaders:128 ClientTTFB:130 CacheReadTime:0 CacheWriteTime:0 TotalSMTime:131 OriginServer:appservers-rw.discovery.wmnet OriginServerTime:131 CacheResultCode:TCP_MISS CacheWriteResult:FIN ReqMethod:GET RespStatus:200 OriginStatus:200 ReqURL:http://en.wikipedia.org/wiki/Main_Page ReqHeader:User-Agent:curl/7.52.1 ReqHeader:Host:en.wikipedia.org ReqHeader:X-Client-IP:- ReqHeader:Cookie:banana=potato BerespHeader:Set-Cookie:- BerespHeader:Cache-Control:s-maxage=1209600, must-revalidate, max-age=0 RespHeader:X-Cache-Int:cp1075 miss RespHeader:Backend-Timing:D=126200 t=1576057329621967
Event Timeline
•
ema
created this paste.
Dec 11 2019, 9:42 AM
2019-12-11 09:42:58 (UTC+0)
Stashbot
mentioned this in
T227432: Replace Varnish backends with ATS on cache text nodes
.
Dec 11 2019, 9:44 AM
2019-12-11 09:44:59 (UTC+0)
Log In to Comment