'How to improve a performance of the query to Firebase firestore

I'm facing a problem related performance using Firebase firestore.
The reason is recognized, but the solution is not found.
How do I cope that?

        const snapshot = await db
      .collection("customers")
      .doc(id)
      .get();

The size of a request is not a large, about below 10KB.

This image is a result at inspector. enter image description here



Solution 1:[1]

There's nothing you can change about the code you shared to improve the performance. Your only options would be to get a faster internet connection (lower latency and/or more bandwidth).

From the screenshot it seems to take 53ms to read the document, which seems pretty reasonably to me at first glance.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Frank van Puffelen