massive changes to cache.js testing and linking pending.