numbersprotocol / capture-lite

A photo-sharing app with only verifiable photos and videos.
https://numbersprotocol.github.io/
GNU General Public License v3.0
25 stars 6 forks source link

[Performance] Capture badge requires GET Asset API call in explorer page #2576

Open sync-by-unito[bot] opened 1 year ago

sync-by-unito[bot] commented 1 year ago

Problem:

According to the flow chart (also see the screenshot below), EACH Capture badge requires two API calls to determine the status. This may slow down the UI performance significantly.

Suggested solution:

Storage backend should have a way in the product to tell whether or not the product is originally created by Capture App (note: not "uploaded" by Capture App but "created" by Capture App).

┆Issue is synchronized with this Asana task by Unito ┆Created By: Tammy Yang

sync-by-unito[bot] commented 1 year ago

➤ Kenny Hung commented:

Tammy Yang(cc Ethan Wu) Updated the testing result.

  1. The loading time of explore page will be more about 1 second than live version. (qa version avg. 6.x, live version avg. 5.x) -> QA thinks could conditional pass.