Add internal paramter has_sss_cache to determine how the cache needs to be cleared. Older versions don't have sss_cache.