Bugzilla – Bug 3147
Feature Request: Change refresh time on RSS feeds for local hosts...
Last modified: 2008-09-15 14:39:24 UTC
I understand and fully appreciate the need to refresh external RSS feeds at a sensible interval. However, I have a number of local RSS feeds on my servers that could do with being refreshed as soon as possible - i.e. with refresh_secs set to zero or the must_get_now flag set to 1 in the file RssNews.pm. The only sensible way I can think of doing this is to check to see if the domain name of the feed URL is on the local network or if the feed url is on the same subnet as the server? That may be easier said than done?
Andy's adding caching to the rss reader (as it gets moved to using the async http library. In that case you should be able to use an http directive to control the caching. (you can also use file: URLs which shouldn't be cached at all...)
In the meeting we discussed making sure there was no caching for file: links as a solution
Fixed in change 8991. The following resources will no longer be cached at all: file:// URLs URLs with a hostname that does not contain a dot (http://lanserver/foo.xml) URLs with a dotted IP hostname that is a private IP address (http://10.0.0.1/foo.xml)