Squid / Apache as caching server for remote xml feeds
I am trying to use Squid to cache xml feeds from an external domain (outside of my network). I want this to be used by internal scripts, not specifically by users. So currently i have Squid intercepting traffic on port 8081 which then passes requests off to apache and caches anything cacheable. This is fine for caching local files (if a little pointless) but what i actually want to do is alias my apache server to actually call the external domain.
So requests to:
should really call (and cache):
I've tried using jesred as Squid's redirector program, but that only seems able to redirect internally.
If anyone's got any ideas i'd be very grateful!