code: private List<String> getExcludes(CmsObject cms) {
  
          // get the list of link excludes form the cache if possible
          CmsVfsMemoryObjectCache cache = CmsVfsMemoryObjectCache.getVfsMemoryObjectCache();
          String filePath = OpenCms.getSystemInfo().getConfigFilePath(cms, LINK_EXCLUDE_DEFINIFITON_FILE);
          @SuppressWarnings("unchecked")
          List<String> excludes = (List<String>)cache.getCachedObject(cms, filePath);
          if (excludes == null) {
              // nothing found in cache, so read definition file and store the result in cache
              excludes = readLinkExcludes(cms);
              cache.putCachedObject(cms, filePath, excludes);
          }
          return excludes;
      }
docs: Returns the exclude prefix list.<p>
  
  @param cms the cms context
  
  @return the exclude prefix list