create cache object