More changes to (still dubious) rel caching scheme, inc. housekeeping REST func to rebuild caches.