add caching on or off