Toolkit Script manager

 

I’ve seen this on scott gu’s blog that refer to another blog. What interesting here is When you Replace your <asp:Script Manager> with <cc1:ToolkitScriptManager>

It supports script combining every script resource on the page.

 

Merge Multiple client-side javascript into a single file that is download to the client at runtime.

 

If you put so many toolkit on your page, you will see it generates separate script resource.and as you suspect with so many file, it has to go back and forth to download the file when needed.

Before

 

 

  After

 

WITH

MiliSECONDS:8840

Ukuran:542265

Waktu Load: 2 second

 

WITH OUT

MIlliSencods:21929

Waktu Load: 3 second

Ukuran:280157

 

 

Save 9 roundtrip

Share this post: | | | |
Published Wednesday, August 06, 2008 9:53 AM by cipto
Filed under:

Comments

No Comments