Get the cache from environment instead of cfg in Item Lock