I am trying to improve my apex VF performance and checked various parts. I have already checked the best practice guideline for salesforce VF page. However going further I am looking is there any architecture change or behavior which can help me in improving the performance of Visualforce page which is using the Dynamic query in the backend.


1 Answer 1


There are lots of things you can do to test your design and implementation but as @kurunve said this is a general question you are asking. However if your page is externally available, via a site you can run your page for load time using one of many tools such as https://developers.google.com/speed/pagespeed/insights/. You can view information about your page load times and total viewstate in the developer console debugger. Set the debug mode to the granularity of your preference. Client side rendering can be preferable over server side depending on what you are up to. Also, here is a nice concise slide deck on some tried and true best practices from the experts: http://www.slideshare.net/developerforce/df121306-ready

Not the answer you're looking for? Browse other questions tagged .