What's the max length of HTML file for your project?

Hello guys,

What’s the max length of HTML file you guys had for your project?

I about to write over a few thousands lines.

Do you guys think writing too much within a single HTML file will degrade Ionic app’s performance?


If it’s just text and standard html elements it won’t affect performance a detectable amount. 1000+ lines of HTML is probably less than 100 kB and it should load in a fraction of a second from local storage in an installed app.

The only thing that I would worry about is images or audio that might take a few hundred milliseconds to load.

1 Like