<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span id="ms-rterangepaste-start"></span></p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
We've just updated to 1.12 to use the stale-while-revalidate option.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
The application is who sends the cache-control header, like this:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
cache-control:max-age=180, stale-while-revalidate=60, stale-if-error=864000</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
If I understood how SWR works, the user shouldn't receive stale content after 180+60 seconds.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
But we are seing stale content after this time.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
X-Cache-Status: STALE</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
Our DevOps team did a debug:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
2017/05/22 15:14:31 [debug] 21376#21376: *44 http file cache expired: 4 1495476646 1495476871</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
2017/05/22 15:14:31 [debug] 21376#21376: *44 http upstream cache: 4</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
2017/05/22 15:14:31 [debug] 21376#21376: *44 http file cache send: /var/cache/nginx/d/d2/fb19e1c85db7bda5c92ce21530bf5d2d</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
2017/05/22 15:14:31 [debug] 21376#21376: *44 http ims:1491861925 lm:1491861925</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
2017/05/22 15:14:31 [debug] 21376#21376: *44 http script var: "STALE"</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
The correct answer should be EXPIRED after the max-age+SWR time.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
It looks reasonble to you?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
Thanks.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
<font size="2" style="font-family: Calibri, sans-serif, serif, EmojiFont;"><span style="font-size: 11pt;"><b>Rafael Cirolini</b></span></font><br>
</div>
<div id="Signature" style="font-family: Calibri, Arial, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<div id="divtagdefaultwrapper"><font face="Calibri,Arial,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols"><span id="divtagdefaultwrapper">
<div><font size="2">
<div style="margin: 0px;"><font size="2" color="#212121" style="font-family: Calibri, sans-serif, serif, EmojiFont;"><span style="font-size: 11pt;"><span lang="en-US">Sup Programmatic & Digital Services</span></span></font></div>
<div style="margin: 0px;"><font size="2" color="#212121" style="font-family: Calibri, sans-serif, serif, EmojiFont;"><span style="font-size: 11pt;"><font color="black">Terra Global</font></span></font></div>
</font></div>
</span></font></div>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div class="BodyFragment"><font size="2">
<div class="PlainText"></div>
<div class="PlainText"></div>
</font></div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, podem conter informação privilegiada ou confidencial e são de uso exclusivo da pessoa ou entidade de destino. Se não for destinatário desta mensagem,
fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por engano, pedimos que nos comunique imediatamente por esta mesma via e, em seguida, apague-a.<br>
<br>
Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted él destinatario indicado, queda notificado de que la lectura,
utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le pedimos que nos lo comunique inmediatamente por esta misma vía y proceda a su exclusión.<br>
<br>
The information contained in this transmissión is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.<br>
</font>
</body>
</html>