Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asynchronous Asset Preview #1347

Closed
ds5678 opened this issue May 19, 2024 · 0 comments
Closed

Asynchronous Asset Preview #1347

ds5678 opened this issue May 19, 2024 · 0 comments

Comments

@ds5678
Copy link
Collaborator

ds5678 commented May 19, 2024

Context

The asset preview page can have a noticeable lag when loading due to some computationally expensive operations, such as texture decoding. Those should be done asynchronously with separate API calls.

  • /Assets/Texture
    • Can return raw or decoded, perhaps with a chosen file extension
  • /Assets/Audio
    • Can return raw or decoded
  • /Assets/Mesh
    • Returns a GLB file
  • /Assets/Json
  • /Assets/Yaml
  • /Assets/Text
  • /Assets/Data
ds5678 added a commit that referenced this issue May 20, 2024
ds5678 added a commit that referenced this issue May 20, 2024
* Use GET instead of POST for loading pages
* Add Count api for collections
* Add Data api for resources
* Use Data api to load the resource page faster
* Improve url creation code in ImageTab
* Related: #1347
@ds5678 ds5678 closed this as completed in 7b853a4 May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant