Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 294 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 294 Bytes

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>';