Usage for "development production" environment - neilime/zf-assets-bundle GitHub Wiki
:wrench: In development
Css & Js files are not bundled for easier debugging. Less & Scss files are compiled when updated or if an "@import" file is updated
Usage
Once the module is configured for development mode, all assets take into account by the configuration are automatically bundled for every call to the application
:rocket: In production
All asset files (Css, Js, medias) are minified, bundled and cached only if once. Assets path are encrypted to mask file tree (with the exception of files in the "assets" public directory)
Usage
Once the application is deployed and configured for production mode, assets must be rendered once.
See Rendering all assets.
It ensure that all assets are well generated until the next deployment.