Kanso package for adding timestamps to cache manifest files - forces browser to update cached data
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
build
README.md
kanso.json

README.md

Cache Manifest Timestamps

This package will automatically add a comment to the bottom of cache manifest files with the current time (at push). This causes the browser to refresh any cached content since the last push occurred.

Usage

// kanso.json
{
    ...
    "attachments": [
        ...
        "myproject.appcache"
    ],
    "cache_manifests": [
        "myproject.appcache"
    ],
    "dependencies": {
        ...
        "cache-manfiest-timestamp": null
    }
}