Prev: Microsoft JScript runtime error: 'this.get_element().style' is nul
Next: bobj.crv.writeWidget({'cons':'bobj.crv.newViewer','args':{'id':'Cr
From: Jeff on 17 Mar 2010 10:21 Hi asp.net 3.5 In my webpage (default.aspx) I see reference to 2 WebReference.axd: <script src="/WebResource.axd?d=KRzGRTklEubj1hExv1cyog2&t=633909506045194578" type="text/javascript"></script> I wonder what this code is? To me it looks like a reference to a javascript. Also it looks like these 2 WebResource.axd makes 2 html requests back to the server, increases load time of my pages. Google Webmaster Tools reports that my pages are slower than 92% of the all the websites. So ideas on how to increase performance is very welcome. If this is a javascript run on the server (I thought all javascript where ran on the client). then please tell me how I can create .js file of so I can avoid using WebResource.axd.... Sometimes it looks like the WebResourse.axd is a reference to a image (.png) in the website. any suggestions?
From: Alexey Smirnov on 17 Mar 2010 10:27 On Mar 17, 3:21 pm, "Jeff" <it_consulta...(a)hotmail.com.NOSPAM> wrote: > Hi > > asp.net 3.5 > > In my webpage (default.aspx) I see reference to 2 WebReference.axd: > <script > src="/WebResource.axd?d=KRzGRTklEubj1hExv1cyog2&t=633909506045194578" > type="text/javascript"></script> > > I wonder what this code is? To me it looks like a reference to a javascript. > Also it looks like these 2 WebResource.axd makes 2 html requests back to the > server, increases load time of my pages. Google Webmaster Tools reports that > my pages are slower than 92% of the all the websites. So ideas on how to > increase performance is very welcome. If this is a javascript run on the > server (I thought all javascript where ran on the client). then please tell > me how I can create .js file of so I can avoid using WebResource.axd.... > Sometimes it looks like the WebResourse.axd is a reference to a image (.png) > in the website. > > any suggestions? WebResource.axd is designed to retrieve assembly resources and serve them to the Web browser. http://support.microsoft.com/kb/910442/ You can see its content if you type the url (http://youserver/ WebResource.axd?d=.....)
From: Jeff on 17 Mar 2010 10:47 I did as you suggested and downloaded one of the WebResource.axd files. It contained about 550 lines of javascript code. How can I stop it from using WebResource.axd and instead put all this javascript code into a .js file?
From: Gregory A. Beamer on 17 Mar 2010 22:01
"Jeff" <it_consultant1(a)hotmail.com.NOSPAM> wrote in message news:uS4TNDexKHA.5940(a)TK2MSFTNGP02.phx.gbl... > I did as you suggested and downloaded one of the WebResource.axd files. It > contained about 550 lines of javascript code. > How can I stop it from using WebResource.axd and instead put all this > javascript code into a .js file? Write your own control that does not use the spit out code and then put the code that runs client side in the .js file. I know of no way to circumvent the automagic code spitting out of client side code with the webresource.axd file. -- Peace and Grace, Greg Twitter: @gbworld Blog: http://gregorybeamer.spaces.live.com ************************************************ | Think outside the box! | ************************************************ |