Dynamic CSS & JS Minifier – php scripts Miscellaneous Created by sheikhwaqas. This php scripts have specific characteristics , namely: Dynamic CSS & JS Minifier – php scripts Miscellaneous. 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 .

You can use this Dynamic CSS & JS Minifier – php scripts Miscellaneous on Php scripts category for compress css, compress javascript, dynamic compression, dynamic load css, dynamic load javascript, improve page speed, minify css, minify javascript and another uses.

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

Related