Skip to content

[Question] How do you cache images on client-side with a flet web-app? #3877

Answered by p5k369
p5k369 asked this question in Q&A
Discussion options

You must be logged in to vote

That would not solve the problem it's not about performance problems during viewing but about network traffic.
Indeed the problem was the base64 str and the way we provided them directly from elastic search.
To make use of the browsercache we put a fileshare on our server with real images that can be accessed via url. Configured cache control on our webserver. Simultaniously launch all threads to load the images and thats it. After the page has loaded once, it will always load instant even with thousands of pictures.

So in the end it wasn't a flet issue, more of a infrastructure topic. Nevertheless I appreciate your fast response. Thank you.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@p5k369
Comment options

@ndonkoHenri
Comment options

@p5k369
Comment options

Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants