Patent attributes
The present invention extends to methods, systems, and computer program products for identifying appropriate client-side script references. Embodiments of the invention facilitate tailoring a list of script references to send to a Web browser based on a list of script references included in a server page. Referenced scripts sent to a Web browser can differ from referenced scripts included in the server page. Script references sent to a Web browser can refer to scripts optimized for the execution environment of the Web browser and to scripts stored at preferred script sources. Further, duplicate script references are removed prior to sending a list of script references to the Web browser. Since script lists sent to Web browsers are tailored for execution environment and duplicates are removed, scripts can be loaded and processed more effectively at Web browsers.