Skip to content

Uses Google Closure API to compress javascript file. The class also caches the result locally.

Notifications You must be signed in to change notification settings

AndrewChamp/cache-and-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Cache and Release

Uses Google Closure API to compress javascript file. The class also caches the result locally.

Example Usage

$compressor = new compressor('main.js');
print '<script async type="text/javascript" src="'.$compressor->cacheName.'"></script>';

About

Uses Google Closure API to compress javascript file. The class also caches the result locally.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages