Git Product home page Git Product logo

asset_compress's Introduction

Asset Compress

Build Status

Asset Compress is CakePHP plugin for helping reduce the number of requests, and optimizing the remaining requests your application makes for Javascript and CSS files.

Features

  • Development mode builder that rebuilds assets on each request.
  • Command line build tool to compile static assets for deployment.
  • Built-in support for LESScss, Sass and CoffeeScript, as well as several minifiers.
  • Powerful and flexible filter system allowing you to add your own minifiers/pre-processors.
  • Simple configuration file.
  • Incremental builds that don't recompile assets when they don't need to be.

Installing

Clone or download the plugin into one of your plugin paths. Then make sure you load the plugin:

// in app/Config/bootstrap.php
CakePlugin::load('AssetCompress', array('bootstrap' => true));

You should make sure to load the plugin after configuring other dispatcher filters as the following will replace the configuration added by AssetCompress. For example using the default bootstrap.php, you should end up with something like:

// in app/Config/bootstrap.php
Configure::write('Dispatcher.filters', array(
	'AssetDispatcher',
	'CacheDispatcher'
));
CakePlugin::load('AssetCompress', array('bootstrap' => true));

Copy the Config/asset_compress.sample.ini to App/Config/asset_compress.ini. From there read the wiki for more information.

Documentation

Documentation for AssetCompress is available on the github wiki pages

Issues

Please report any issues you have with the plugin to the issue tracker on github.

License

Asset Compress is offered under an MIT license.

Copyright

2010-2014 Mark Story (http://mark-story.com)

Authors

See the github contributors list

Changelog

See CHANGELOG for changes only available on master. See github releases for changelogs on previous releases.

asset_compress's People

Contributors

adamroyle avatar afolgado avatar ajibarra avatar ataylor32 avatar bmcclure avatar cauancabral avatar codaxis avatar dinhani avatar evilbloodydemon avatar fullybaked avatar haroldputman avatar jadb avatar jeremyharris avatar jmillerdesign avatar josegonzalez avatar lorenzo avatar majna avatar markstory avatar phally avatar rchavik avatar renan avatar rynop avatar shama avatar sime avatar skie avatar stork avatar thomseddon avatar wyrihaximus avatar yourivdlans avatar zeroasterisk avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.