Skip to content

rdalverny/pagered

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page Reducer

Very quick and sketchy way to minify a given Web document:

  • get HTML document;
  • gather all referenced CSS files, replace them with a single ref pointing to a new ad hoc static, reduced and minified CSS file;
  • (TODO) do the same for JS;
  • rewrite HTML doc, minify it.

Dependencies

Install & Use

$ brew uncss yuicompressor
OR
$ npm i uncss yuicompressor
$ gem install nokogiri htmlcompressor
$ ./red.rb http://yoursite/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published