Back

weirdness with getFilePreview || getFileView endpoints

  • 0
  • Web
elnur
2 Mar, 2024, 00:45

Is there a way to make the getFilePreview endpoint faster? It's nice to have the correct sizes out of the gate but:

getFileView endpoint is much faster, network wise, but its causing horrible lag for some reason when scrolling if I have any CSS like width or height 100%.

Weirdly enough, there's no issues if there are no width/height css applied to the img or container divs...

TL;DR
Issue with getFilePreview being slow; getFileView faster but causing lag when scrolling with CSS width/height applied. No issues without CSS.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more