adding cache path for compile and cache object