Fixed bug where commas in the uri component would break the cache path
syncing. Simplified how cache path is synchronized between server and
browser.