Firebase sites takes long time to load on every deploy

Viewed 505

i hosted my react js websites on firebase and it takes a long time to load but after some times it load fast. I deployed again to the same site and the same issue occured. Is it that firebase hosting takes time for the content to fully settle or what?

1 Answers

Firebase Hosting is a static site host with CDN. So the moment you deploy a new version there will be delay to propagate all the new files to the CDNs. Until that the request will have to route to the primary file storage server (Which usually resides in the US). The delay depends on your network speed and the round trip delay to firebase primary server.

Related