[Bug 530524] Re: RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1)
This bug was fixed in apt-cacher-ng 0.4.9-2 --- apt-cacher-ng (0.4.9-2) unstable; urgency=low * Minor change to support Ubuntu release notes delivery with GET parameters (closes: #588662) -- Eduard Bloch bl...@debian.org Sun, 11 Jul 2010 11:06:49 +0200 apt-cacher-ng (0.4.9-1) unstable; urgency=low * New upstream version + fixes LFS settings inconsistencies (closes: #588048), thanks to M. Vefa Bicakci -- Eduard Bloch bl...@debian.org Tue, 06 Jul 2010 00:59:21 +0200 apt-cacher-ng (0.4.8-1) unstable; urgency=low * New upstream version + fixes FTBFS with recent glibc (Ubuntu bug 596452) + adds ddeb files to package filter (Ubuntu bug 596075) + allow pass-through mode for specified domains/URLs (Ubuntu bug 530524) + modified regex creation (only at startup time now), may be a workaround for Debian bug #571536, Ubuntu bugs 523408, 532353, 585957 -- Eduard Bloch bl...@debian.org Fri, 02 Jul 2010 08:40:07 +0200 ** Changed in: apt-cacher-ng (Ubuntu) Status: Confirmed = Fix Released -- RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1) https://bugs.launchpad.net/bugs/530524 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 530524] Re: RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1)
Oh sorry, I misread caching for certain domains as caching of certain domains... Actually, that's a good idea. I think we should use regular expressions, there you can set a filter to the beginning of the string (i.e. the Domain name you wanted), or some string that people put into their local rebuilds' versions, or a common part of the name of some local project, whatever. Maybe some directive like: # Data is not stored on the disk if the download URL is matched successfully against one of these regular # expressions. # # DontCache: localversionsuffix.*\.deb 192.168.3 ^10\.0\.0\.1 # # Advanced usage: # The file:listfile.txt syntax is supported to get the strings from an external file. # If the config value contains two parts (semicolon separated) then the left is applied to incomming request # URLs, the right part to outgoing download URLs. What do you think? -- RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1) https://bugs.launchpad.net/bugs/530524 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 530524] Re: RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1)
DnsCacheSeconds doesn't really have anything to do with it. I was referring not to cache deb files, etc. from certain hosts and IP (because they are local for example). Again, feel free to set to wontfix if you think such an option would be bloat. ** Changed in: apt-cacher-ng (Ubuntu) Status: Fix Committed = Confirmed -- RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1) https://bugs.launchpad.net/bugs/530524 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 530524] Re: RFE: please allow for exclusion of caching for certain domains
This has been documented in 0.4.5-1 (Debian), but should work already in previous versions. Thanks. ** Changed in: apt-cacher-ng (Ubuntu) Status: New = Fix Committed ** Changed in: apt-cacher-ng (Ubuntu) Importance: Undecided = Wishlist ** Summary changed: - RFE: please allow for exclusion of caching for certain domains + RFE: please allow for exclusion of caching for certain domains (doc improvement pending) ** Summary changed: - RFE: please allow for exclusion of caching for certain domains (doc improvement pending) + RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1) -- RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1) https://bugs.launchpad.net/bugs/530524 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 530524] Re: RFE: please allow for exclusion of caching for certain domains
I just found http://www.debian-administration.org/articles/177 and it should be easy enough for the clients to bypass apt-cacher-ng when accessing that host Acquire::http::Proxy::$host DIRECT; I would be OK with Eduard closing this ticket as wontfix or changing it into a question so the next person looking for this kind of information can easily find it. -- RFE: please allow for exclusion of caching for certain domains https://bugs.launchpad.net/bugs/530524 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 530524] Re: RFE: please allow for exclusion of caching for certain domains
Oops, I just realized that I forgot to document something :-( What you want is the DnsCacheSeconds option (value range: positive integers), which you can set to 10 or something, in acng.conf (or some other .conf file in the config dir, of course). -- RFE: please allow for exclusion of caching for certain domains https://bugs.launchpad.net/bugs/530524 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs