Return-Path: Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: (qmail 84432 invoked from network); 21 Dec 2010 09:29:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 09:29:10 -0000 Received: (qmail 43242 invoked by uid 500); 21 Dec 2010 09:29:09 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 41543 invoked by uid 500); 21 Dec 2010 09:29:07 -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 41517 invoked by uid 99); 21 Dec 2010 09:29:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 09:29:06 +0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of weilogster@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-wy0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 09:28:59 +0000 Received: by wyb39 with SMTP id 39so3647511wyb.29 for ; Tue, 21 Dec 2010 01:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KdCZDNbueNZgUzUER/Otnsui3VwQHyci4BwAOIlFAnc=; b=Udu94XFcRgHGjor/eU3Yv3c4riobvwOeha5CTgcVY1E+J0xsBkrhrknjZKpb2lAfAw mP5DKpU3+C7bzF84wJzZJRWyuwqerJIgQLu83/bvwXSJc1FIVVDTe47qsbJYp1Mpt+au uZmm3ZBjFcD3A/78rQr/1v5ijPbPo6nVLk6YQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=YVCWi0g6WW3ivAzl1e5183jHGIflMxO0auo0Hor7hR760OsMzXJ3mgv4X+ulyydQCG O4LQs6sAmnE3JaxvnjCwpI7YRRKe7k6bJyEkVO4AixsBmvgJMekjO5kiSME1OZ35lqu1 RHfXqNIR2gSEYcXcL2XC/M667CZyPBRs7cAMw= MIME-Version: 1.0 Received: by 10.216.55.145 with SMTP id k17mr1386628wec.48.1292923718977; Tue, 21 Dec 2010 01:28:38 -0800 (PST) Received: by 10.216.175.81 with HTTP; Tue, 21 Dec 2010 01:28:38 -0800 (PST) In-Reply-To: <8EC0C88D71836B46A5E36F4438DB6C6812F22660@denoc-exchange.kd.local> References: <8EC0C88D71836B46A5E36F4438DB6C6812F22541@denoc-exchange.kd.local> <1292920295.5798.1.camel@zym6400> <8EC0C88D71836B46A5E36F4438DB6C6812F22660@denoc-exchange.kd.local> Date: Tue, 21 Dec 2010 17:28:38 +0800 Message-ID: Subject: Re: Set Expire Header From: =?GB2312?B?zrq9+g==?= To: users@trafficserver.apache.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org maybe you have to write a plugin, which rewrite the response header before write into the cache. 2010/12/21 Jean Fiedler : > I already tried to play around with that but ATS is not setting a Expire = Header in the response. > > I want to reduce the requests by the clients. I want that the ATS will se= t a header that the file is 1 week valid and that the client does not need = to request again. > > Actually the client is always asking if the file is still okay. ATS is an= swer 304 (Not modified). I want to minimize these stupid querys with the ex= pire header because i know image files will not change that frequently. > > Should he set a expire header with the cache.config? I am not sure. > > > > -----Urspr=A8=B9ngliche Nachricht----- > Von: ming.zym@gmail.com [mailto:ming.zym@gmail.com] > Gesendet: Dienstag, 21. Dezember 2010 09:32 > An: users@trafficserver.apache.org > Betreff: Re: Set Expire Header > > will the cache control works for you? > http://trafficserver.apache.org/docs/v2/admin/files.htm#cache.config > > > > =D4=DA 2010-12-21=B6=FE=B5=C4 07:35 +0000=A3=ACJean Fiedler=D0=B4=B5=C0= =A3=BA >> Hi List, >> >> >> >> is it possible to set/overwrite the expire Header in ATS? >> >> >> >> I would like to give all images a expire header of one week for a >> domain. Unfortunately i cannot set it directly on the origin server >> because it is maintained by a different company. >> >> >> >> I did not find it in the manual. >> >> >> >> But a mod rewrite thing like in Apache Webserver would be fine. >> >> >> >> >> >> Best regards >> >> >> >> > > >