From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#49033: 28.0.50; [PATCH] Feature suggestion, url-cache-expiry-alist to override expire time for cache pruning Date: Sun, 24 Oct 2021 00:27:16 -0700 Message-ID: References: <87r1h3tdys.fsf@gnus.org> <877diq2gqw.fsf@gnus.org> <87lf73tnl4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9656"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 49033@debbugs.gnu.org To: Alex Bochannek Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 24 09:28:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meXvQ-0002Is-WB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 09:28:13 +0200 Original-Received: from localhost ([::1]:43356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meXvP-0000zO-F7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 03:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meXvH-0000vz-LR for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 03:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meXvH-0001w9-CI for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 03:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meXvH-0007ME-39 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 03:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Oct 2021 07:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49033 X-GNU-PR-Package: emacs Original-Received: via spool by 49033-submit@debbugs.gnu.org id=B49033.163506044528146 (code B ref 49033); Sun, 24 Oct 2021 07:28:03 +0000 Original-Received: (at 49033) by debbugs.gnu.org; 24 Oct 2021 07:27:25 +0000 Original-Received: from localhost ([127.0.0.1]:37801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meXuf-0007Jt-Cw for submit@debbugs.gnu.org; Sun, 24 Oct 2021 03:27:25 -0400 Original-Received: from mail-pg1-f181.google.com ([209.85.215.181]:46649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meXuc-0007Ja-KU for 49033@debbugs.gnu.org; Sun, 24 Oct 2021 03:27:23 -0400 Original-Received: by mail-pg1-f181.google.com with SMTP id m21so7659242pgu.13 for <49033@debbugs.gnu.org>; Sun, 24 Oct 2021 00:27:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=9GQKjP5kpllr/N8nRCpYxrqB1EKcvWfWphaYCBEEzTA=; b=7vqofA0vSFhwPbxC8GOfR/adm+9y6VGlbwJ5Azu6vcUMvRKDdK5hED7E+BAPIetQ2+ NBlggGYyeLsM72lebNmIWMt6bRv+qVYu3vSAqX5OsYDA39dyMNvfjpgKb3yHs//QX2A0 U4yXsw7fNYzl4l9kZMy0VXCsuQe7crDif59ZSTnZvQtNcv21hUv8An35cdffGX9xHBiV XF8MHJ4dDCF0LurxXMqZLFbFtS4g1x2O4sOBl17Rjn8Ex/F41srLo+rNhJUEMziAYlhB HV1A00Rstr8Vgd2EJP26lYTMOZ9y2DPfVSAd2xfH5wCD3vCI1x7rHELZ26zpR72iNEwn SswQ== X-Gm-Message-State: AOAM532skkOTQS2OnbHwj1VbigcOv+gWm5ZS0xneoz4bjs6eQYkztE84 eJIgupwOuuJBoIESn8oJ7gljkcjCfvPLXMpoaCWbnZEe X-Google-Smtp-Source: ABdhPJwaqGFIFltedABxBAmWwleVHI0Egvr/V4w2Mx+pzxIOQp26EeI4cVFN9524+MjbYxt01Q8/KXimsnsHNfU4eLg= X-Received: by 2002:a63:81c2:: with SMTP id t185mr7974766pgd.114.1635060437024; Sun, 24 Oct 2021 00:27:17 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Oct 2021 00:27:16 -0700 In-Reply-To: (Alex Bochannek's message of "Mon, 21 Jun 2021 11:25:09 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218070 Archived-At: Alex Bochannek writes: > Lars Ingebrigtsen writes: > >> Alex Bochannek writes: >> >>> I originally had looked at this for Gravatar entries and I am now using >>> it to avoid fetching the same images in RSS feeds. >> >> Right; makes sense. >> >>> I just noticed though that `url-cache-create-url-from-file' won't work >>> if `url-cache-create-filename-human-readable' is used. Any suggestions >>> for how to address that? >> >> No, sorry -- I'm pretty unfamiliar with the url-cache code. > > I need to think about this some more. The easy way is to not try to > recreate the URL but to have users specify the path for cache entries. I > might just do that and see how that works out for me in practice. Either > way, it's not ready for merging yet. (That was 17 weeks ago.) Did you get any further here? Thanks in advance.