Return-Path: X-Original-To: apmail-trafficserver-dev-archive@www.apache.org Delivered-To: apmail-trafficserver-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57AE61011A for ; Sat, 6 Dec 2014 19:13:49 +0000 (UTC) Received: (qmail 35893 invoked by uid 500); 6 Dec 2014 19:13:49 -0000 Delivered-To: apmail-trafficserver-dev-archive@trafficserver.apache.org Received: (qmail 35821 invoked by uid 500); 6 Dec 2014 19:13:49 -0000 Mailing-List: contact dev-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@trafficserver.apache.org Delivered-To: mailing list dev@trafficserver.apache.org Received: (qmail 35800 invoked by uid 99); 6 Dec 2014 19:13:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Dec 2014 19:13:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Raj.Sharma@makemytrip.com designates 180.179.112.90 as permitted sender) Received: from [180.179.112.90] (HELO nsmail.makemytrip.com) (180.179.112.90) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 06 Dec 2014 19:13:35 +0000 Received: from mmt-srv-xfe2.mmt.com (unknown [172.16.8.162]) by nsmail.makemytrip.com (Postfix) with ESMTP id 4AA72A004C; Sun, 7 Dec 2014 00:42:12 +0530 (IST) Received: from MMT-SRV-XDB2.mmt.com ([fe80::655f:2e39:da9:5947]) by mmt-srv-xfe2.mmt.com ([fe80::1405:e804:6676:ecb3%17]) with mapi id 14.03.0195.001; Sun, 7 Dec 2014 00:42:11 +0530 From: Raj Sharma To: Leif Hedstrom CC: "dev@trafficserver.apache.org" Subject: RE: how to configure our ATS not to cache a specific request Thread-Topic: how to configure our ATS not to cache a specific request Thread-Index: AdARbhcjHVpgOtqfT1S+vbYv1guovf//0J4A//+gabA= Date: Sat, 6 Dec 2014 19:12:11 +0000 Message-ID: <677D99721FD78440A3A88F58B6EBABF97D26CCB4@MMT-SRV-XDB2.mmt.com> References: <677D99721FD78440A3A88F58B6EBABF97D26CBF2@MMT-SRV-XDB2.mmt.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.80.26] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Yes this response has been cached at ATS level. For a specific request if any configuration available then kindly let me kn= ow. I think in cache.config file we can set action for not to cache a specific = url. If it would be possible then what would be the syntax for this. -----Original Message----- From: Leif Hedstrom [mailto:leif@ogre.com] Sent: Sunday, December 07, 2014 12:13 AM To: dev@trafficserver.apache.org Subject: Re: how to configure our ATS not to cache a specific request And that response is being cached? Unless you have made some other configs = the force that to be cached, I can't see how that response is cacheable. -- Leif > On Dec 6, 2014, at 9:10 AM, Raj Sharma wrote: > > Hi team, > > I am a software developer at MakeMyTrip.com. > Can you guys tell me that how we can restrict ATS to not to cache a speci= fic request. > > Below are the details of headers that are being generated : > > Request Headers- > Accept text/html,application/xhtml+xml,application/xml;q= =3D0.9,*/*;q=3D0.8 > Accept-Encoding gzip, deflate > Accept-Language en-US,en;q=3D0.5 > Cache-Control no-cache > Connection keep-alive > Cookie s_pers=3D%20s_vnum%3D1420378693537%2526vn%253D2%7= C1420378693537%3B%20s_depth%3D4%7C1417881526516%3B%20s_lv%3D1417879731320%7= C1512487731320%3B%20s_lv_s%3DLess%2520than%25207%2520days%7C1417881531320%3= B%20gpv_pn%3Dfunnel%253Adomestic%2520flights%253Alisting%7C1417881531322%3B= %20s_invisit%3Dtrue%7C1417881531323%3B%20s_nr3650%3D1417879731324-Repeat%7C= 1733239731324%3B%20s_nr30%3D1417879731324-Repeat%7C1420471731324%3B%20s_nr1= 20%3D1417879731325-Repeat%7C1428247731325%3B%20s_nr7%3D1417879731325-Repeat= %7C1418484531325%3B; MMYTUUID=3D24617072-3124-7878-512f-4648544f244b.141778= 6694315570; s_vi=3D[CS]v1|2A40DAA3051D0CA0-60000132E0080072[CE]; MobileAB= =3Dmhp_a9; mbox=3DPC#1417786715455-897237.22_15#1419089325|session#14178784= 12032-131560#1417881585|check#true#1417879785; AB=3DrespAB---mhp_c18___AB--= -mhp_c18; __sonar=3D2069150245738174793; _b=3D1; emailIdE=3D""; s_sess=3D%2= 0s_cc%3Dtrue%3B%20s_ppv%3Dfunnel%25253Adomestic%252520flights%25253Alisting= -interstitial%252C100%252C100%252C653%3B%20s_sq%3D%3B; __CT_Data=3Dgpv=3D2&= apv_15275_www03=3D1&apv_15276_www03=3D1; WRUID=3D0; has_js=3D1; NMF5COM=3D3= 72400138.20480.0000; VSF5DOTCOM_SEO=3D352998922.20480.0000 > Host www.makemytrip.com > Pragma no-cache > User-Agent Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Ma= c OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A= 341 Safari/528.16 > > Response Headers- > Age 1 > Cache-Control no-cache, must-revalidate, post-check=3D0, pre-ch= eck=3D0 > Connection keep-alive > Content-Encoding gzip > Content-Length 256 > Content-Type application/json; charset=3Dutf-8 > Date Sat, 06 Dec 2014 15:41:18 GMT > Expires Sun, 19 Nov 1978 05:00:00 GMT > Server ATS/3.2.0 > Vary User-Agent,Accept-Encoding > X-Drupal-Cache MISS > X-Powered-By PHP/5.5.9 > max-age 0 > > Thanks in advance, > Raj > > The contents of this email, including the attachments, are PRIVILEGED AND= CONFIDENTIAL to the intended recipient at the email address to which it ha= s been addressed. If you receive it in error, please notify the sender imme= diately by return email and then permanently delete it from your system. Th= e unauthorized use, distribution, copying or alteration of this email, incl= uding the attachments, is strictly forbidden. Please note that neither Make= MyTrip nor the sender accepts any responsibility for viruses and it is your= responsibility to scan the email and attachments (if any). No contracts ma= y be concluded on behalf of MakeMyTrip by means of email communications. The contents of this email, including the attachments, are PRIVILEGED AND C= ONFIDENTIAL to the intended recipient at the email address to which it has = been addressed. If you receive it in error, please notify the sender immedi= ately by return email and then permanently delete it from your system. The = unauthorized use, distribution, copying or alteration of this email, includ= ing the attachments, is strictly forbidden. Please note that neither MakeMy= Trip nor the sender accepts any responsibility for viruses and it is your r= esponsibility to scan the email and attachments (if any). No contracts may = be concluded on behalf of MakeMyTrip by means of email communications.