Added cdnUrl check

Added a check that if the cache url host is different than that request uri host, skip the cachePath check and file exists check.