Skip to content

Cache bust cordova_plugins.js #71

@karlAlnebratt

Description

@karlAlnebratt

Feature Request

Motivation Behind Feature

If we leverage browser caching. Then the cordova_plugins.js should be cached by the browser for as long as possible. Therefore it would be a nice feature to have cordova_plugins.js cache bustable

Feature Description

njectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js?' + hash, function () {

An easy way of doing it is to add a query string to the request for cordova_plugins.js
hash where the hash could be generated on build from the plugins list

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions