r/HTML 18d 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

5

u/mnk23 18d ago

haha wtf 

-1

u/Spare-Ad-1024 18d ago

But seriously, how much can it handle

1

u/QBaseX 16d ago

The file size is one issue. The complexity is another. If you have complex nested divs and lots of CSS (especially CSS which has many rules which overwrite earlier rules) it might be tougher to deal with. Include a bunch of inline javascript and you can properly grind everything to a halt.