cacheKey

  • property
config.cacheKey {String}  

When used in conjuction with cacheVersion, specifies what query string to use for cache busting.

String

A string key to use as the query string key:

<script src="./dist/steal.production.js"
    cache-key="v" cache-version="1234"></script>

Will result requests like:

/dist/bundles/my-app/index.js?v=1234
Help us improve StealJS by taking our community survey