How to Find the size of the AEM page
Hi Team,
I have a requirement to find the size of the AEM page. While writing the content if we can able give hint to authors saying that this page size : xxx.
Thanks
Hi Team,
I have a requirement to find the size of the AEM page. While writing the content if we can able give hint to authors saying that this page size : xxx.
Thanks
Hi,
during rendering it's normally not possible to determine the size of a page (unless you buffer all output in a request filter and calculate the size there, but that's not a really good idea ...). And it's even harder to determine the size of a page A when you have a page B containing a link to A and you want to add the information about the size of the linked page A.
So I would argue, that you should avoid to implement this, as it adds substantial cost and effort to your application.
Jörg
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.