added salt to cache name + added a public method for fetching variables