
There is no need to check the absense of the parameters in all functions. Instead 'getCacheName' is the only function actually using the parameters and thus should check the availability.
There is no need to check the absense of the parameters in all functions. Instead 'getCacheName' is the only function actually using the parameters and thus should check the availability.