The useStaticThemeName only toggles between a fixed name, or one with a randomly generated number.
Webpack bundles can use contenthash, e.g. filename: '[name].[contenthash].js' this has the advantage that the hash stays the same as long as the content is still the same. This prevents unnecessary cache misses when the app is rebuild, but the css didn't actually change.
The
useStaticThemeName
only toggles between a fixed name, or one with a randomly generated number.Webpack bundles can use
contenthash
, e.g.filename: '[name].[contenthash].js'
this has the advantage that the hash stays the same as long as the content is still the same. This prevents unnecessary cache misses when the app is rebuild, but the css didn't actually change.