changed cache path to be more generic