From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58562 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: Cache and agent ? Date: Thu, 23 Sep 2004 23:08:47 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095998981 20422 80.91.229.6 (24 Sep 2004 04:09:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 04:09:41 +0000 (UTC) Original-X-From: ding-owner+M7100@lists.math.uh.edu Fri Sep 24 06:09:27 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAhOc-0003kC-00 for ; Fri, 24 Sep 2004 06:09:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CAhOC-0006Dd-00; Thu, 23 Sep 2004 23:08:56 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CAhO8-0006DY-00 for ding@lists.math.uh.edu; Thu, 23 Sep 2004 23:08:52 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CAhO7-00037C-7t for ding@lists.math.uh.edu; Thu, 23 Sep 2004 23:08:51 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 29EAB3A003B for ; Thu, 23 Sep 2004 23:08:49 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CAhO4-00023m-00 for ; Fri, 24 Sep 2004 06:08:48 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 50 Original-NNTP-Posting-Host: 198.64.160.238 Original-X-Trace: quimby.gnus.org 1095998928 6043 198.64.160.238 (24 Sep 2004 04:08:48 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Fri, 24 Sep 2004 04:08:48 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:z90yPTrL6/NMuNATGd866L+2hhc= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58562 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58562 Xavier Maillard writes: > On 21 sep 2004, Kevin Greiner wrote: > >> Xavier Maillard writes: >> >> > Hello, >> > >> > Is it non-sense to have articles cached and have it >> > downloaded by the agent at the same time ? >> > >> > How is it processed internally then ? >> > >> > (I have a group full of downloaded *and* cached articles due >> > to a problem on my side). >> >> The agent and cache are completely independent. So you have two >> copies of each article on your harddisk. > > So, my next question is simply: is this situation safe ? Err, > from where Gnus fetch the article then ? (cache ?, agent ?, > randomly ?). It's deterministic; it should prefer the cache. The actual logic is recursive and, at times, obscure so some functions may check the agent first. >> In anticipation of the next question, the agent and cache were >> designed this way deliberately. > > No problem with how this was done ;) just a question. Do you > think caching adn agentizing in the same time, a recommended/safe > practice ? Oh, and given the fact I am caching ticked/dormant and > even unread articles, can I safely enable agent expiration on my > groups ? If I understand correctly, caching prevent me from a > server expiration and adjusting in this case 2 or 3 more > variables I can still keep a copy of some articles locally (no > expiration can apply). Very good, you found the primary justification for keeping the cache and agent separate. Agent expiration only applies to the agent's folders so your cached articles can NOT be expired. Note: An article that is both cached and agentized may, by expiration, end up only cached. I'm not sure about your 'server expiration' comment. My interest has largely been the agent. Kevin