Coder Social home page Coder Social logo

asset_compress's Introduction

Asset Compress

Asset Compress is CakePHP plugin for helping reduce the number of requests your application requires for Javascript and CSS files. It comes with a handy set of pre-processing features.

Installing

Clone or download the plugin into one of your plugin paths. From there read the wiki for more information.

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 Mark Story (http://mark-story.com)

Authors

  • Mark Story
  • Ben McClure
  • Igor Fomin
  • Rachman Chavik

Changelog

0.3

** Backwards incompatible changes**

  • Inflection of file names for javascript and css was removed. This affects both the helper, and the directives supported by each file type.
  • Auto inclusion of all build files in the afterRender() callback was removed. You now need to manually call includeAssets().

** Other changes **

  • AssetCompressHelper::includeAssets() takes an array of build files you wish to output in that call. This lets you place some build files at the top of the document, and others at the bottom.
  • AssetCompressHelper::includeJs() and AssetCompressHelper::includeCss() were added. These methods function similar to includeAssets(). Each allows you to only include some of the build files.
  • Assets that do not exist now return 404 errors.
  • Two basic filters have been added. JsMin and CssMin are now built-in filters. Both require you to put their libraries in app/vendors.

0.2

  • Timestampping of build files was added.
  • Filters for CSS files were fixed.
  • Location for asset_compress.ini file was moved into app/config/asset_compres.ini.
  • Files in themes should now be auto discovered.

asset_compress's People

Contributors

bmcclure avatar evilbloodydemon avatar markstory avatar rchavik avatar zeroasterisk avatar

Stargazers

 avatar

Watchers

 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.