This is the current check to see if caching is enabled.