Resource loading strategies in Web applications