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

Suggestion - Can we avoid repeated requests for fonts? #19

Open
spurgeonbj opened this issue Sep 22, 2024 · 0 comments
Open

Suggestion - Can we avoid repeated requests for fonts? #19

spurgeonbj opened this issue Sep 22, 2024 · 0 comments

Comments

@spurgeonbj
Copy link

image

Hi. Thanks for the great tool!

I am not sure if this is TODO or milestone planned...

Just thought would share my humble thoughts which might help make this more efficient, if my guess is right...

From the network traffic of reading a book, it appears that the fonts are repeatedly fetched for each page / chunk i think, this cumulatively is a significant chunk of traffic / overhead on the browser / server ...

Of course, there would be caching at browser / server sides to minimize the impact of this...

Yet wonder, wouldnt it be better of to check for the presence of the requisite assets, on loading (only once) and serve / stream only the contents that change subsequently (text etc) without having to request for fonts again and again?

Thanks once again!

God bless!

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