Added cache file size limit