Habits of Highly Efficient Visualforce Pages & Class.
1) "Transcient" keyword to cut down view state 2) User Remoting to replace actionsupport, reduces view state and speed of return and allows for direct passing parameters, YOU are responsible for rerendering 3) Streaming API, actionPoller is crap 4) Asynchronous @future methods 5) Optimise SOQL queries (use limit, filter etc) 6) Standard Set Controllers 7) Limit data on the page, (135k viewstate, 15mb of markup) 8) Do not use salesforce resources (showheader false, standardstylesheets false)
No comments:
Post a Comment