Shine

Component ID

1415918

Component name

Shine

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Creates a Memory File system to store assets. i.e. Aggregated CSS/JS files. Shine can be used to distribute assets across a multiple server architecture.
Shine is powered by jsmin-php https://github.com/rgrove/jsmin-php/

Installation:

  1. Place this module directory in your modules folder (this will usually be "sites/all/modules/").
  2. Go to "administer -> build -> modules" and enable the module.
  3. Either copy the right patched block.module file or you can apply one of the core patches if you like. If you patch, copy the patchfile to Drupal's include folder and run following command:

patch -p0 < common.inc.patch

To reverse the patch, simple run following command:

patch -R -p0 < common.inc.patch

Configuration:

Go to "administer -> settings -> shine"
Set the caching expiration

Go to "administer -> settings -> performance"
Enable Optimize CSS files
Enable Store Aggregated CSS in Memcache

Enable Optimize JAVASCRIPT files
Enable Store Aggregated JS in Memcache