Add option to not clear the cache on refresh