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

Reply via email to