private void cacheResources() {
		if (plugin == null)
			return;
		if (cachedFileNames != null) {
			String[] t = cachedFileNames.split(",");
			for (int i = 0; i < t.length; i++) {
				t[i] = t[i].trim();
				if (t[i].equals(""))
					continue;
				URL x = createURL(t[i]);
				if (x != null)
					cache(x);
			}
		}
		plugin.putParameter("codebase", page.getPathBase()); // make sure the code base is remote
		URL[] cacheURL = plugin.getCacheResources();
		if (cacheURL != null) {
			for (URL x : cacheURL)
				cache(x);
		}
	}