(Performance) Rendering html data on browser takes time
We are calling a jsreport render function which use good amount of JSON data and recipe is html. Its return bodyBuffer and then we are converting that buffer to string and passes to iframe tag in srcDoc attribute. It shows loading icon on frontend and taking time to render on frontend side.
It seems that the response i.e. bodyBuffer is large which return from the server to frontend. Can you guide us on this with respect to performance ?
Thanks for your help in advance.
I'm not sure I understand the question.
What is the actual problem? The jsreport html server render time or the browser displaying the html?
Browser displaying the html takes time.
I'm afraid this isn't something we could help you with. Perhaps try stackoverflow or some general programing forum.
Let me rephrase it, can we compress the data that is coming from jsreport render function?
You can do whatever you want with the
However, I don't know how that helps with browser html display performance.