Added debugging for caching support