Article View: news.software.nntp
Article #66593Re: INN+suck as transparent cache?
From: Jeffrey M. Vinocur
Date: Fri, 29 Aug 2003 10:44
Date: Fri, 29 Aug 2003 10:44
46 lines
2604 bytes
2604 bytes
In article <8811f961.0308290110.782439cf@posting.google.com>, Alistair Happencross <alistair_happencross@hotmail.com> wrote: > >Therefore, I'm wondering if INN can be configured so that it's >transparent to the news client, in much the same way as Squid is >transparent to a web browser. With one caveat, which is that INN will never know what news server your client originally wanted. In other words, it's not really transparent the same way an http proxy can be configured to intercept anything on port 80. But it sounds like LeafNode is exactly what you want -- except for perhaps the cache expiration stuff. It already does the automatically-decide-what-to-cache thing. >* INN presents a full list of newsgroups available on my ISP's news > server, even though only a small fraction of those groups are > currently cached. Sure, perhaps actsyncd can help with keeping the list up to date. >* When entering any group, INN+suck automatically updates the overview > for that group, on the fly. > >* When reading any message, INN+suck automatically downloads that > message from the ISP's server if that message is not already cached. Well, INN doesn't have support for downloading headers first and articles later. But other than that, you can do this in two ways: - Have something check the logs for group access and add them to the list for next time. (This is essentially leafnode.) - Use the Python per-group-entry-hooks to actually run suck every time a user enters a new group. (This is essentially nntpcache.) -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<binaqh$caj$2@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mailReferences:
<8811f961.0308290110.782439cf@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <binaqh$caj$2@puck.litech.org> Subject: Re: INN+suck as transparent cache? Date: Fri, 29 Aug 2003 10:44:33 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <8811f961.0308290110.782439cf@posting.google.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 45 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1062153873 12627 66.218.0.75 (29 Aug 2003 10:44:33 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Fri, 29 Aug 2003 10:44:33 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)