Return-Path: Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: (qmail 94827 invoked from network); 23 Mar 2011 15:37:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2011 15:37:09 -0000 Received: (qmail 82347 invoked by uid 500); 23 Mar 2011 15:37:09 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 82300 invoked by uid 500); 23 Mar 2011 15:37:09 -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 82292 invoked by uid 99); 23 Mar 2011 15:37:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 15:37:09 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ccaijay@msn.com designates 65.55.90.206 as permitted sender) Received: from [65.55.90.206] (HELO snt0-omc4-s3.snt0.hotmail.com) (65.55.90.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 15:37:01 +0000 Received: from SNT116-W34 ([65.55.90.200]) by snt0-omc4-s3.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 23 Mar 2011 08:36:40 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_bd56da01-9c35-4d1b-ab0e-0f1a90961428_" X-Originating-IP: [84.203.170.159] From: ChangCheng To: Subject: RE: how to cache object with different urls (with question mark) just once? Date: Wed, 23 Mar 2011 15:36:40 +0000 Importance: Normal In-Reply-To: References: <2425fffc-74e1-49b0-b847-6db654996b78@iris>, MIME-Version: 1.0 X-OriginalArrivalTime: 23 Mar 2011 15:36:40.0345 (UTC) FILETIME=[1AAE9890:01CBE970] X-Virus-Checked: Checked by ClamAV on apache.org --_bd56da01-9c35-4d1b-ab0e-0f1a90961428_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Hi, MarkThanks your sharing, I have some queries about cacheurl.config, Could you explan moare about what supoort to do for this file?This meas that evey modified url you want to cached you have to write into this file?For example, i have a url like http://example.com/a.jpg?id=xxx, if i want cache this object, does mean i have to wirte patterns/replacements in cacheurl.config?it's possible use your plugin to catche some unforeseeable modified url ?Thanks > From: mark@omniti.com > Date: Wed, 23 Mar 2011 11:06:28 -0400 > Subject: Re: how to cache object with different urls (with question mark) just once? > To: users@trafficserver.apache.org > > I have the plugin working with 2.1.7 and it is currently available at > http://ats-cache-proxy.googlecode.com/svn/trunk/trafficserver_cacheurl/ > . > > It builds with tsxs (tsxs -c cacheurl.c -o cacheurl.so). > > To enable it, add cacheurl.so to your plugin.config file. You will > also need to create a cacheurl.config file which goes in the plugin > directory (libexec usually) that contains patterns/replacements - one > per line. Comments are allowed using '#'. > > An example config file is available here: > http://ats-cache-proxy.googlecode.com/svn/trunk/install/cacheurl.config > > Let me know if there are any issues getting things working, > > Mark --_bd56da01-9c35-4d1b-ab0e-0f1a90961428_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit Hi, Mark
Thanks your sharing, I have some queries about cacheurl.config, Could you explan moare about what supoort to do for this file?
This meas that evey modified url you want to cached you have to write into this file?
For example, i have a url like http://example.com/a.jpg?id=xxx, if i want cache this object, does mean i have to wirte  patterns/replacements in cacheurl.config?
it's possible use your plugin to catche some  unforeseeable modified url ?
Thanks

> From: mark@omniti.com
> Date: Wed, 23 Mar 2011 11:06:28 -0400
> Subject: Re: how to cache object with different urls (with question mark) just once?
> To: users@trafficserver.apache.org
>
> I have the plugin working with 2.1.7 and it is currently available at
> http://ats-cache-proxy.googlecode.com/svn/trunk/trafficserver_cacheurl/
> .
>
> It builds with tsxs (tsxs -c cacheurl.c -o cacheurl.so).
>
> To enable it, add cacheurl.so to your plugin.config file. You will
> also need to create a cacheurl.config file which goes in the plugin
> directory (libexec usually) that contains patterns/replacements - one
> per line. Comments are allowed using '#'.>
> An example config file is available here:
> http://ats-cache-proxy.googlecode.com/svn/trunk/install/cacheurl.config
>
> Let me know if there are any issues getting things working,
>
> Mark
--_bd56da01-9c35-4d1b-ab0e-0f1a90961428_--