views:

227

answers:

1

Usual javascript files can be cached on a client-side if web server sets the expiration. If user has once downloaded it, it will be cached by his browser. And what about AjaxControlToolkit ToolkitScriptManager? Are combined JS files cached on a client? How can expiration time be managed?

A: 

Hi,

This site has a good explanation. It seems that the ToolScriptManager combines the JS scripts by default, using the CombineScripts (bool) property. Regarding caching:

Of note, the cache settings of the combined script file are set to the same values that the individual script files would have had if ToolkitScriptManager weren't being used and the combined script file is automatically compressed according to the browser's wishes.

keyboardP