Media Items Minifier

  0 rating
CMS;Developers
6/17/2013 7:49:28 AM
4/17/2015 1:40:09 PM
Source: GitHub

About

Media Items Minifier module minifies the CSS and Javascript files present in media library. 

When publishing any CSS/JS media library items, it will minify them and upload it in target environment. Media items in the source environment will not be impacted.

This way you can have uncompressed version of CSS and JS media items in DEV/STG environment and minified version in Live environment.

Minification of CSS and JS items is done using YUICompressor.

Note: This module is tested only on Sitecore 6.5. But it should work on all Sitecore 6.0+ versions.

Documentation

Documentation
  • Documentation > Getting Started
    Installation
    * Download the MediaItemsMinfier module package.
    * Install the package in Sitecore.

    0
  • Documentation > Configuring Target Databases
    Configuring Target Databases
    You can specify the databases in which media items should be minified as given below:

    * Open /Website/App_Config/MediaItemsMinifier.config file.

    * In <databases> node specify the list of target database names separated by a comma.
       E.g. <databases>web,production</databases>
       This specifies that minify media items which are published to web and production databases only.
    1
Back
Release notes
Version 1.0
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File