I have a page that is taking a long time to load. This page uses ~120 buttons. Which is a lot but surprisingly is not too much. The problem I have is that the first time the page loads it is making all the buttons and each button requires 2 new TextFields. I have timed it and the textfields are what slows it down the most. So the first time the page pops up it downloads 240 TextFields. What ways would you guys get around this? Is there a fast way to maybe duplicate the TextField and then :setText different that the original Textfield and not use TextField.new? Other than that I guess I will just have to make 240 new buttons in paint.net.
Comments
Try caching symbols there:
Likes: rikolous
Likes: totebo