Integration manager iframe should have cache busting #23295
Labels
A-EMS
Issues related to EMS
A-Integrations
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Low/no impact on users
T-Enhancement
Your use case
Contents of iframes appear to be cached when the URL has not changed (the extent of this seems to vary by platform, most aggressive on Element desktop).
This can result in the integration manager frontend failing to update, or breaking entirely when a new version has been deployed.
This also impacts the sticker picker.
(While the sticker picker should handle refreshing its data on visibility events, this would occur when a new version of the sticker picker widget was deployed.)
I believe the iframe cache can be busted by adding for example a randomized string to the URL in a query parameter.
Have you considered any alternatives?
Considered if this can be done with
Cache-Control
headers, but these don't seem to be respected for iframes.Additional context
For the Integrator integration manager provided by Element, this manifests as a white screen (due to built assets 404ing). This is resolved on Element Desktop by opening developer tools and checking "Disable cache", or otherwise waiting for the cache to expire.
The text was updated successfully, but these errors were encountered: