Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Long expires cache buster plugin for Lumbar
JavaScript CSS
tag: test-tag

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
package.json

README.md

Lumbar Long Expires

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

Configuration

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.

Example

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

{
  "modules": [],
  "long-expires": "git rev-parse HEAD"
}
Something went wrong with that request. Please try again.