[Webpack] The numeric prefix for cache busting in URLs to static resources does not change even if plugin code changes #94951
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Team:Operations
Team label for Operations Team
Files such as JS files are imported via webpack and become part of your plugin bundle(s). That way, the resource URL has a cache-busting random number in the URL. (e.g the 39000 in localhost:5601/39000/bundles/plugin/myplugin/myplugin.plugin.js)
However, after the "refresh" of the plugin, the cache busting key stays the same, so the browser uses the dirty cache instead of sending a request to refresh the code.
From: https://discuss.elastic.co/t/custom-kibana-plugins-will-not-update-due-to-client-side-resource-caching/267207
The text was updated successfully, but these errors were encountered: