How is it going to be calculated? Is it the amount of loaded files? What if the page is small but then loads more dynamically later?
How I, as a developer, make sure my website works everywhere?
What with sites that use a lot of code but still work fast? The amount of code does not directly translate to slowness. You can have little code and slow website or a lot of code and fast website. As an example, single page applications tend to load all of its code but still manage to be responsive.
What is going to be the limit?
Who is going to be setting it?
How is it going to be calculated? Is it the amount of loaded files? What if the page is small but then loads more dynamically later?
How I, as a developer, make sure my website works everywhere?
What with sites that use a lot of code but still work fast? The amount of code does not directly translate to slowness. You can have little code and slow website or a lot of code and fast website. As an example, single page applications tend to load all of its code but still manage to be responsive.