combine.cfc
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Combines and compresses multiple JavaScript/CSS files into a single file for enhanced performance.
Combine.CFC
-----------

Combine multiple javascript or CSS files into a single, compressed, HTTP request.

Allows you to change this:

	
	
	

To this:

	

...combining and compressing multiple javascript or css files into one http request.


How do I use it?
----------------
- Place combine.cfm and Combine.cfc somewhere under your webserver
- Modify the combine.cfm with your preferred combine options, and error handling if required.
- Update your 
  - 
- [optional] If you want to use the CSS or Javascript compression, you need to add the required Java to your classpath. See "How to add the Java to your classpath" below...


How to add the Java to your classpath [required for css and js compression]
---------------------------------------------------------------------------
1. Determine where you will place your Java, it must go in a directory in your Coldfusion class path. This could either be cf_install_dir\lib, or a custom directory path which has been added to the Coldfusion class path (through Coldfusion's admin/config)
2. Copy yuicompressor-2.4.2.jar (archive) to your class_path_dir (as determined in step 1)
3. Restart Coldfusion


Why?
----
- Reduces the number of HTTP requests required to load your page. All your javascript files can be combined into a single 



				
			
		
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。