We are aware the every JSP service file created out of a .jsp file cannot be more than 64KB. So people substitute file include with dynamic file includes such as <jsp:include/>
or <cq:include/>
Does HTL have a limit like JSP of 64KB?
We are aware the every JSP service file created out of a .jsp file cannot be more than 64KB. So people substitute file include with dynamic file includes such as <jsp:include/>
or <cq:include/>
Does HTL have a limit like JSP of 64KB?
It's more complicated than that, however yes, HTL template is getting compiled to Java class, and that Java class cannot have more than 64kB size.
For more details about class sizes, see this question.
In my entire career I have never seen a template bigger than 64kB so we had to break it down to smaller parts. In fact, I find HTL and AEM components very useful to break down the complexity.