Description
When request configuration rules are updated at runtime, MapStore creates a fresh requestRuleRefreshHash (uuid) onto every layer whose URL matches a changed rule. The intent is to force the layer to re-fetch tiles/features with the newly resolved headers/params.
The OpenLayers plugins consume this signal, they pair security and requestRuleRefreshHash checks in their update callback and rebuild the source / tile-load function when either changes. The Cesium plugins were not extended with this check, so they currently ignore the hash.
The Cesium layer plugins only invalidate on a security identity change and not when rules changes leaving parameters baked into the underlying Cesium resource go stale
- New tile requests continue to use the old auth headers/params.
- Already-cached imagery keeps displaying, masking the issue until the camera moves.
- The user has to refresh the browser for the new rules to take effect on a 3D map.
Acceptance criteria
What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information
Description
When request configuration rules are updated at runtime, MapStore creates a fresh
requestRuleRefreshHash(uuid) onto every layer whose URL matches a changed rule. The intent is to force the layer to re-fetch tiles/features with the newly resolved headers/params.The OpenLayers plugins consume this signal, they pair
securityandrequestRuleRefreshHashchecks in theirupdatecallback and rebuild the source / tile-load function when either changes. The Cesium plugins were not extended with this check, so they currently ignore the hash.The Cesium layer plugins only invalidate on a
securityidentity change and not when rules changes leaving parameters baked into the underlying Cesium resource go staleAcceptance criteria
requestRuleRefreshHashhandling into the Cesium layer plugins so that a rules-only change triggers a rebuild, alongside the existingsecuritycheck.What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information