Friday, July 6th, 2007
Youâ€™re understandably proud of your latest fancy Ajax interface, but is it wasting your appâ€™s precious resources? In this article on Think Vitamin, Shanti Braford shows you five ways to make sure your Ajax is optimized.
He goes into detail on:
- Optimal Database Indexing
- Eliminate Redundant SQL Queries
- Fragment Caching
- Response Text Compression/Minimization
You will note that most of these have little to do with Ajax, and are general advice. It gets interesting on:
In the following example, weâ€™ll cache conversations into hidden divs so that whenever a user clicks on a conversation, itâ€™ll load almost instantaneously.
Posted by Dion Almaer at 5:20 am