added a check to cache url host to see if it is different than the request uri host, skip the validation of the assets and just render the assets with the cache url if true