.ready() experience

Март 5, 2010

jQuery has a rich set of functions including .ready() http://api.jquery.com/ready/ which is very helpful if you want to perform some operations on page ready. Initially I thought — wow! I can make whole body invisible until it’s ready (no working garbage apper). After done that I noticed that pages became very slow. After some investigation I realized that while my scripts are on the same location others like Google Maps are somewhere far and it may take significant time to load and evaluate them while all other data are ready and can be viewed. So don’t blame django :) use profilers first!

posted in Без рубрики by dmitko

1 Comment to ".ready() experience"

  1. Molchanov wrote:

    Спасибо, довольно интересно.

Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org