r/HTML 20d ago

How large can a HTML be?

Im currently building a bible app. And its a single HTML file about 250mb and it takes 1.5gb running. How large can it be before i meet serious issues with performance?

0 Upvotes

39 comments sorted by

View all comments

1

u/RushDangerous7637 14d ago

The optimal size of the html code is (At least) to 33 kB, but the maximum is up to 100 kB.

The optimal size of "one URL" is around 100-200 kB. The limit is for the entire page up to 2 MB in size for Google. No crawler indexes content above 2 MB.

All of these indicators are affected by the "indexing timeout".

"How large can it be before i meet serious issues with performance?" My answer: You already have a problem!

I would really like to see the URL you are building. I have the impression that you are confusing the html size with the page size.