added Cache from wsCore.
uses Cache if set.