GitHub - steveosoule/cached-jsmin-php: PHP file that will concatenate & minify JavaScript files depending on their file-modification dates · GitHub
Skip to content

steveosoule/cached-jsmin-php

Folders and files

Repository files navigation

cached-jsmin-php

PHP file that will concatenate & minify JavaScript files depending on their file-modification dates.

The cached.js.php file will compare the modified time of the source files, compare it to the modified time of the output file, and it will concatenate & minify the files as necessary.

Usage

  1. Update the file paths in js/cached-js.php
  2. Upload js/cached-js.php & js/JSmin.php to the server.
  3. Add the script tag to your HTML page.
<script src="path/to/js/cached-js.php"></script>

JavaScript minification done with https://github.com/rgrove/jsmin-php

About

PHP file that will concatenate & minify JavaScript files depending on their file-modification dates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages