code: protected String getResourceCacheKey(String path, GeneratorContext context) {
  
  		StringBuilder strbCacheKey = new StringBuilder(path);
  		if (StringUtils.isNotEmpty(context.getBracketsParam())) {
  			strbCacheKey.append("_").append(context.getBracketsParam());
  		}
  		if (StringUtils.isNotEmpty(context.getParenthesesParam())) {
  			strbCacheKey.append("_").append(context.getParenthesesParam());
  		}
  
  		String cacheKey = strbCacheKey.toString();
  
  		Locale locale = context.getLocale();
  		if (locale != null) {
  			cacheKey = LocaleUtils.toBundleName(strbCacheKey.toString(), locale);
  
  		}
  
  		cacheKey = cacheKey.replaceAll("[^\\w\\.\\-]", "_");
  
  		return cacheKey;
  	}
docs: Returns the cache key for linked resources map
  
  @param path
  the resource path
  @param context
  the generator context
  @return the cache key for linked resource map