From users-return-7827-archive-asf-public=cust-asf.ponee.io@trafficserver.apache.org Thu Jul 25 19:01:58 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 669F618066C for ; Thu, 25 Jul 2019 21:01:58 +0200 (CEST) Received: (qmail 67432 invoked by uid 500); 25 Jul 2019 19:01:57 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 67422 invoked by uid 99); 25 Jul 2019 19:01:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2019 19:01:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5E9231A31B8 for ; Thu, 25 Jul 2019 19:01:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.8 X-Spam-Level: * X-Spam-Status: No, score=1.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Dv7Ozp-fms7m for ; Thu, 25 Jul 2019 19:01:54 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=66.163.188.205; helo=sonic311-24.consmr.mail.ne1.yahoo.com; envelope-from=sudheervinukonda@yahoo.com; receiver= Received: from sonic311-24.consmr.mail.ne1.yahoo.com (sonic311-24.consmr.mail.ne1.yahoo.com [66.163.188.205]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 167DC7DC04 for ; Thu, 25 Jul 2019 19:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1564081312; bh=rc/31iDBBkLFvG/4ZBKGRb7VTb6S6rvUwh+1Dfn4jws=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=gDk7mad7N5+WMBCdndhdobHMLAejNQhq+9IvkZliaySYQinBz4Op9/v177bEKYyiag7noineBoqhbdvu03iN1HdTkZa21Ao9upvxcYaTB6xV/0qybgJE8XngNWDFBxIMOOiVrwKZYVPsIvZDfqFCMBEEFaL9HXB/Xkf+1EdQXWCo/6FU+s8w6m2vYt8JKZ7bEUCEO2tNylFIZWgadUuqbnpVG6e1cl/1s/c5fc0nnC7bmiUSYtvCIIn7YrIvDu3T98cx+EyQSlD1uMY688l1PAYEzxzHDbjXi6Cm5uPYr5SoZR4cXtlDHOBQJgGImCLmV0yy+qsrqKKRdE62Scvs0Q== X-YMail-OSG: yTPwCE8VM1kulYRi8io7yA8kNsyBHmVKRL2P9A_G28wNDviPuzGcoKd4PLqTnr_ pr2eFTGA_4zPpjcwIFBlOr4VF7dr5WAhnO6DNkTJ2miEG0o15j7bU6s482YXuoDN10Tmj0XSYE3D 2ScYBzeIThxTZyglSyJimMVH_PMzZrcN2o7cML2f6nlF78NHhCAxnVzbr7JMZK3QjPCAxJ8umjCP WSL3RupwhYrY.eqtSVF9UlPxrcfwSqrKJK5JpKfk2D5B.EHXqeYg4vPyKtcxPjzyLI98DraBg0Wp ZK7P.70mQ29d4ial8e.Uv1ovO_bjkLyQCNjv7Yz9Y2gCzK_CnhPskuNyWvSK04.dxX05QxBgczqy 8bu1Yw6tnUzDgjhlXR7sthQsx.B0Q9_W.CLEPE9HuPkUYKdjzMpKD4Ryl9Rz4n.plQ9ERxFkAATl b__EntSZMdW525uv4HdRFwS4LLJaPNF5JYb5Ae22.RlSyn.waUD3YtdrxfCIDbO5X8auoGwGi5MZ cqCCoYUklqqNKTwbuDnuMyOi4tZkRPNz5CfU_4ht0RmxIQCl9pao5WEaADp3xQlbx4N9WQgSBSm. fuHO2wmXaYTvfc1.N9365UEqiQ3QN3.L8yIAl9nj45w0RUB0dxBSgSbTWMNf17x0kl40G5f_xYqF jl6icM_a0jZMe64Kd3K3MSExyuYRS2iqeadqauUMek565BQUEdeUsUu7P6_PTayWarEodS7MAfvT ADBgaCjG1TNV52jTBNa7uHAXcMdt4dFr55n1S5j3P4kgtwf4qje0gz7aWbnbM4dPVp47kctXjilQ Ak1ZFWHrKg.QTn7g0Lzsf5E2px5wZg62TQIeerhG6oUm6NG5_Nk2Akm6eLy8QBQ81hX1KNywU.3U dntgBN..PAxrS1yYakuKSNH5LXBZKcJyI4dZgHATriRuHubSpfqRUbfeXfQUeK3_omMRVTo7lT9a M1cDM9deP70MfSQ5BLLCmAUiYigXiqvWpAb2w0WY5lGRH02S0Vkzb6wqhkZHOOhIIAKR3R56yc4n gCH1TOGReEJ6lcyyU4fLhClUz8AgtjUwv.OnqeFC9wk0VyIAjvL9NCVUy3Lk4vojlqnM_FEQ3SVY cxKT6OhhkhGFUNZ9SREGL27AWva8etWNwf9IuI.Uua8XCdr3LrfMdagMvHsmVDoP0_V1D3F0VeE1 tc6P4_XWdo2zCaHRjVwOh5Gw7NKKA_4yPio8Sqj_0t0Ka09dtwGmqGigycuVY6MWkvZLDoSuWeA- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Thu, 25 Jul 2019 19:01:52 +0000 Date: Thu, 25 Jul 2019 19:01:50 +0000 (UTC) From: Sudheer Vinukonda To: users@trafficserver.apache.org Message-ID: <279873447.1107786.1564081310525@mail.yahoo.com> In-Reply-To: <868A59F4-5234-48D5-BA16-982A399A6043@gmail.com> References: <913dd4b3-4691-4515-8315-3cbe3d0f53a5@Spark> <1553077600.1082876.1564078329435@mail.yahoo.com> <868A59F4-5234-48D5-BA16-982A399A6043@gmail.com> Subject: Re: One-hit-wonder filtering MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1107785_995251034.1564081310522" X-Mailer: WebService/1.1.13991 YMailNorrin Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 ------=_Part_1107785_995251034.1564081310522 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah, very interesting. That requires an additional mechanism to maintain th= e state (first or subsequent access) across requests. Yeah, AFAIK, this wil= l need a new plugin (don't believe there's anything built-in or pre-existin= g to support this). Thanks, Sudheer On Thursday, July 25, 2019, 11:51:07 AM PDT, Jason Yang wrote: =20 =20 Hi Sudheer,=C2=A0=C2=A0 =C2=A0 Thank you for your quick reply! It seems th= e option you proposed is a general control. Writing a plugin is indeed one = option, but to avoid reinventing the wheel, I just want to double check tha= t ATS does not have this function. To be specific, I don=E2=80=99t want to = cache an object when I first time see it. In other words, I only want to ca= che objects that have been seen at least twice.=C2=A0 Best,=C2=A0Juncheng=C2=A0 On Jul 25, 2019, at 14:12, Sudheer Vinukonda w= rote: Hmm..not entirely sure if I understand the question, but, if you are askin= g ATS supports skipping cache on some requests, yes. There's different ways= of doing that. You can disable cache per remap line using records.config = =E2=80=94 Apache Traffic Server 9.0.0 documentation=C2=A0or use=C2=A0cache.= config or write a plugin for more finer control |=20 |=20 | |=20 records.config =E2=80=94 Apache Traffic Server 9.0.0 documentation | | | cache.config =E2=80=94 Apache Traffic Server 9.0.0 documentation |=20 |=20 | |=20 cache.config =E2=80=94 Apache Traffic Server 9.0.0 documentation | | | Does that answer your question? Thanks, Sudheer On Thursday, July 25, 2019, 11:05:34 AM PDT, Jason Yang wrote: =20 =20 Hi there,=C2=A0=C2=A0 =C2=A0 I am wondering whether ATS supports filtering= one-hit-wonders (do not store them into cache). Thank you!=C2=A0 Best,=C2=A0 Juncheng=C2=A0 =20 =20 ------=_Part_1107785_995251034.1564081310522 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ah, very interesting. That r= equires an additional mechanism to maintain the state (first or subsequent = access) across requests. Yeah, AFAIK, this will need a new plugin (don't be= lieve there's anything built-in or pre-existing to support this).

Thanks,

Sudheer


=20
=20
On Thursday, July 25, 2019, 11:51:07 AM PDT, Jason Yang= <peter.waynechina@gmail.com> wrote:


Hi Sudheer,&= nbsp;
    Thank you for yo= ur quick reply! It seems the option you proposed is a general control. Writ= ing a plugin is indeed one option, but to avoid reinventing the wheel, I ju= st want to double check that ATS does not have this function. To be specifi= c, I don=E2=80=99t want to cache an object when I first time see it. In oth= er words, I only want to cache objects that have been seen at least twice.&= nbsp;


Best, 
Juncheng 


On Jul 25, 2019, at 14:12, Su= dheer Vinukonda <sudheervinukonda@yahoo.com> wrote:

Hmm..not entire= ly sure if I understand the question, but, if you are asking ATS supports s= kipping cache on some requests, yes. There's different ways of doing that. = You can disable cache per remap line using records.config =E2=80=94= Apache Traffic Server 9.0.0 documentation or use cach= e.config or write a plugin for more finer control

=



cache.config =E2=80=94 Apache Traffic Server 9.0.0 documentation



=
Does that answer = your question?
Thanks,

Sudheer
<= br clear=3D"none" class=3D"ydp6212d2e5yiv0687035345">

=20
=20
On Thursday, July 25, 2019, 11:05:34 AM PDT, Jason Yang= <peter.waynechi= na@gmail.com> wrote:


Hi there, 
&= nbsp;   I am wondering whether ATS supports filtering one-hit-wonders = (do not store them into cache). Thank you! 
<= br clear=3D"none" class=3D"ydp6212d2e5yiv0687035345">
<= br clear=3D"none" class=3D"ydp6212d2e5yiv0687035345">
B= est, 
Juncheng 

------=_Part_1107785_995251034.1564081310522--