Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Long expires cache buster plugin for Lumbar
JavaScript CSS
branch: master


latest commit 0f0711d0fe
@kpdecker kpdecker authored
Failed to load latest commit information.
lib Queue concurrent token generation requests
test Use mixin path for long-expires defined in mixin
.gitignore gitignore
.jshintrc Update jshint
.travis.yml Update tests for travis
LICENSE Update license Kick the build
package.json v1.1.1

Lumbar Long Expires Plugin

Build Status

Lumbar plugin that provides long-expires resource loading for lumbar modules.


To enable this plugin a long-expires key must be defined on the root lumbar config object. The value of this key is the process that is executed to generate expires cache busting key. This could be a unique id from source control such as the git commit sha, a timestamp, or any other value that will be unique on each build.

When in watch mode this value is cached until the configuration is changed. It will only update when a complete rebuild is done as a result of changing the config file or restarting the watch.


The following example uses the current git SHA as the unique token.

      "modules": [],
      "plugins": ["lumbar-long-expires"],
      "long-expires": "git rev-parse --short HEAD"


Something went wrong with that request. Please try again.