Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Asset building process differs radically for website visitors and developers:

 For Regular VisitorsFor Developers
1only, when combined asset is missingwhen any of assets is changed
2combine all specified assets into single file
3compress result using "CSS/JS Compression Engine" setting 
4store result in "/system/cache" path
5return URL to asset like "/system/cache/asset_name?ts=timestamp"

There are several issues, that can happen:

...

  1. use https://github.com/kriswallsmith/assetic library for asset file creation (internals of "m_Compress" tag)
  2. use JsMin and CssMin from Composer
  3. deprecate "JsMinifyHelper" and "CssMinifyHelper" classes in favor of "MinifyHelper::compressString" method
  4. store compiled assets in "/system/cache/assets/" folder instead of "/system/cache/" folder

Related Discussions

Related Tasks