mistercrunch commented on issue #28259:
URL: https://github.com/apache/superset/issues/28259#issuecomment-2692960876

   Are you continously deploying or deploying a lot behind the scene? Clearly 
it seems there's an issue with the single-page-app hot-loading asserts that are 
now-gone after a redeploy. This is all related to the frontend build "manifest" 
artifact that changes at each build/deploy. 
   
   I'm going to guess that the reason why we don't have issues with this at 
Preset is that our CDN keeps older assets/builds for a moment across deploys, 
but can't confirm for sure.
   
   Not sure how other single-page-app handle this or the best practices around 
it, but one way would be to have some sort of process on a timer that checks 
whether the app is in sync, and refreshes what needs to be refreshed (the 
manifest? the web page?) when it realizes the build id is out-of-sync. This 
could potentially happen on-error, like if/when a hot-loaded asset is MIA, you 
could check the version and refresh what needs to be refreshed. Just 
spitballing here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to