Tuesday, April 17, 2012

Dynamic CSS & JS Minifier

PHP Scripts - Dynamic CSS & JS Minifier - CodeCanyon

Dynamic CSS & JS Minifier his title this type of PHPScripts/Miscellaneous This time I will review,made by ser-html, PHPScripts/Miscellaneous is sold at a price of $5 in CodeCanyon. Dynamic CSS & JS Minifier - CodeCanyon Item for Sale compress css // compress javascript // dynamic compression // dynamic load css // dynamic load javascript // improve page speed // minify css // minify javascript //
Created 3 September 10
Last Update 3 February 12
Compatible Browsers IE7, IE8, Safari, Opera
Software Version PHP 5.x, jQuery
Files Included PHP

This package provides you two very simple scripts that enable you to load multiple CSS & JavaScript files as a combined, minified & compressed version without changing your actual original files. This reduces the transfer rate of your CSS and JavaScript Files from the Web Server to the Browser and definitely gives a positive impact on your bandwidth usage as well as it reduces the loading time by caching the output. By caching the output, this script reduces the number of requests to the web server every time the website is visited.

If you feel any issues regarding the usage / implementation of the scripts. Feel free to contact me via my user page.

Changelog

  • 03-SEP-2010 – Added loadCSS.php to optimize the CSS Output as a minified compressed version.
  • 08-SEP-2010 – Added loadJS.php to combine, minify and compress the output of JavaScript files.

Features v2.0

  • Combines Multiple JavaScript Files into 1 Output.

Features v1.0

  • Combines Multiple CSS Files into 1 Output.
  • Removes Line Breaks, Comments, Extra Spaces without disturbing the original files.
  • Compresses the output using PHP ’s ZLib Module.
  • Compresses the output up to 85% dynamically reducing the file transfer size and saves bandwidth.

Online Demo

Demo URL : http://www.ues-electrical.com/css/loadCSS.php?template,highslide,superfish Demo URL : http://www.ues-electrical.com/js/loadJS.php?jquery,superfish,ajax

The Demo URLs will show you the Minified & Compressed CSS & JavaScript versions respectively in which we have loaded 3 different CSS & JavaScript files and combined, minified and compressed them as 1 Output.

To view the Original Files.

The URLs for the original CSS files are: http://www.ues-electrical.com/css/template.css http://www.ues-electrical.com/css/highslide.css http://www.ues-electrical.com/css/superfish.css

The URLs for the original JavaScript files are: http://www.ues-electrical.com/js/jquery.js http://www.ues-electrical.com/js/superfish.js http://www.ues-electrical.com/js/ajax.js

No comments:

Post a Comment