#6154: Refactor get cache to not include host in uri
#6154: Refactor as Jorge suggested
Merge pull request #6187 from dotCMS/issue-6154-less-host

#6154: Refactor get cache to not include host in uri