This is a migrated thread and some comments may be shown as answers.

Content Expiration of .AXD file

0 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nikesh
Top achievements
Rank 1
Nikesh asked on 25 Dec 2008, 11:55 AM
I have noticed that there are couple of ways through which we can increase the performance of the page.

1. This method is that we have noticed that the .axd files for each page are set for content expiration by Telerik itself, this is set for 1 year. So this will be downloaded again only when the page is requested for the first time.

2. This is manual method in which we can set the property EnableEmbeddedScripts="false", this will not load the JavaScript files from the assembly. The script reference will be needed for each JavaScript through the Script Manager for each controls. I tried this and it still loads one axd file of 119kb however we can explicity set the content expirtaion of the enitre script folder through IIS manager.

I see that the second method is beneficial because over the years I have noticed that setting the content expiration of JavaScript files works, however I am not sure how efficiently it works for the .axd files. Also, there are few JavaScript related to controls which are common for every controls like Core.js, Animation.js etc. The first method downloads the one axd file for each page, however if the second method is followed than the JavaScript file will be downloaded only once per control across the pages.

Would anyone know if it is beneficial to use the first option or the second option to increase the performance of the page?

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Nikesh
Top achievements
Rank 1
Share this question
or