Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D0691796F for ; Mon, 28 Sep 2015 12:22:31 +0000 (UTC) Received: (qmail 46787 invoked by uid 500); 28 Sep 2015 12:22:24 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 46731 invoked by uid 500); 28 Sep 2015 12:22:24 -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 46721 invoked by uid 99); 28 Sep 2015 12:22:24 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2015 12:22:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E9DBDC69A7 for ; Mon, 28 Sep 2015 12:22:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.43 X-Spam-Level: ** X-Spam-Status: No, score=2.43 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Ee9oKSLw5ZrU for ; Mon, 28 Sep 2015 12:22:10 +0000 (UTC) Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E8FF9439C0 for ; Mon, 28 Sep 2015 12:22:09 +0000 (UTC) Received: by igcrk20 with SMTP id rk20so51555341igc.1 for ; Mon, 28 Sep 2015 05:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vp0ea3a1vDfQShZYFxhgq14jP/yxrLYpvJTr1jsacE0=; b=avI+exgKu/VaHiLujoblTW0eAOeo3edhGbf4R8HIeX+dpZUah29qKSHdXfiz+Fr3zo HiRy14NeDXzEm+Ds2F12aOSGWxrqyAt6XcPMElVTSnYbjOs4UzEPqKWmh3gRVNSWvvlS R3OuH42kX4JbB5vObBUqJ6PD8g5dcKpoXwStkvQh4WuwXGmdEfnF4BE8yRUsLol7rj8O 6NLiC/Au0lxZBW8SbuMeAOhnzg+01Dzdnh+/REa6cBo2yq49YDHQxRuaIjyF+1MGZ+Z2 aNkE9jqUn1We6gTrWQxHS8vQ0t2DIhHJ1bZz64UPSC2WdrtP9Zft6IprpHMM+yHtD96g 1faw== MIME-Version: 1.0 X-Received: by 10.50.44.116 with SMTP id d20mr1804243igm.77.1443442929456; Mon, 28 Sep 2015 05:22:09 -0700 (PDT) Received: by 10.36.116.148 with HTTP; Mon, 28 Sep 2015 05:22:09 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Sep 2015 07:22:09 -0500 Message-ID: Subject: Re: Purge Question From: Jeremy Payne To: users@trafficserver.apache.org Content-Type: multipart/alternative; boundary=047d7bdc10fe105cfb0520cdbfbe --047d7bdc10fe105cfb0520cdbfbe Content-Type: text/plain; charset=UTF-8 James.. I'll test the genid configuration option. I'll also test writing a lua script that takes from both the regex_reval and genid plugins. In this per remap lua script, Ill open a rule file/db The file/db will contain a list of regex's and a genid. Upon matching, the lua script will set the cache key with respect to the corresponding genid. I think when I define my paths/regexes to match, I will use Unix time as my gendid. Thanks all for the responses and suggestions. On Sat, Sep 26, 2015 at 11:19 PM, James Peach wrote: > > If you want to get more creative, you could use the Lua plugin to crack > the generation ID based on some arbitrary criteria. > > > > > --047d7bdc10fe105cfb0520cdbfbe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


James.. I'll test the genid co= nfiguration option. I'll also test writing a lua script that takes from= both the regex_reval and genid plugins.
=C2=A0In this per re= map lua script, Ill open a rule file/db The file/db will contain a list of = regex's and a genid. Upon matching, the lua script
will s= et the cache key with respect to the corresponding genid. I think when I de= fine my paths/regexes to match, I will use Unix=C2=A0 time
a= s my gendid.

Thanks all for the responses and suggestions.

<= br>
--047d7bdc10fe105cfb0520cdbfbe--