In addition to describing the problem clearly, Alex suggests several approaches that make things better.
- Minimize the amount of code that runs on load
- Load-balance requests by generating different URLs
- Use Standard Libraries
- Most Importantly – Think About It
I was in a meeting last week with Alex and a handful of other widget developers who are aggressively working on some interesting approaches and solutions to improve this. Look for new and improved stuff coming soon to a blog near you.