Hi <div><br></div><div>I want to do a experiment with no CS cache. For example, set the freshness as 0, so the routers would not cache this content.</div><div>However, when I check the code, I found that setting the Freshness to 0 means unlimited freshness:</div>
<div><br></div><div><span class="n" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">producerHelper</span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">.</span><span class="n" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">SetAttribute</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)"> </span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">(</span><span class="s" style="margin:0px;padding:0px;border:0px;color:rgb(221,17,68);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">"Freshness"</span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">,</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)"> </span><span class="n" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">TimeValue</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)"> </span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">(</span><span class="n" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">Seconds</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)"> </span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">(</span><span class="mi" style="margin:0px;padding:0px;border:0px;color:rgb(0,153,153);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">0</span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">)));</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)"> </span><span class="c1" style="margin:0px;padding:0px;border:0px;color:rgb(153,153,136);font-style:italic;font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)">// unlimited freshness</span></div>
<div><span class="c1" style="margin:0px;padding:0px;border:0px;color:rgb(153,153,136);font-style:italic;font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:11.80555534362793px;line-height:11.11111068725586px;white-space:pre;background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0);font-family:arial;font-size:small;font-style:normal;line-height:normal;white-space:normal"><br>
</span></span></div><div>So is there a way to let routers not cache the content?</div><div><br></div><div>Another question: does anyone know how many Attributes we can set? And what kind of format? Can we add new attributes?</div>
<div><br></div><div>Thanks,</div><div>Chengyu</div>