Jan 12, 2011, 10:18 PM
[CLOSED] [1.0] Repeated JavaScript resources requests problem
hi,
note: actually, this is question is not problem in Ext.NET but part of the project that i work on + ext.net putting the java-script resources in one place correctly. so i need to know how to do that!
the Question: in one of my X-Threads:
http://forums.ext.net/showthread.php...al-js-function
i show code on using [Loading-rendering-dynamic-panels], the exact post is:
http://forums.ext.net/showthread.php...ll=1#post36077
in the code of /*demo3.aspx*/ i made small change by adding [jquery-1.4.2.js] library:
note: actually, this is question is not problem in Ext.NET but part of the project that i work on + ext.net putting the java-script resources in one place correctly. so i need to know how to do that!
the Question: in one of my X-Threads:
http://forums.ext.net/showthread.php...al-js-function
i show code on using [Loading-rendering-dynamic-panels], the exact post is:
http://forums.ext.net/showthread.php...ll=1#post36077
in the code of /*demo3.aspx*/ i made small change by adding [jquery-1.4.2.js] library:
/*demo3.aspx*/
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<script src="Scripts/jquery-1.4.2.js" type="text/javascript"></script>
<title>Ext.NET Example</title>
</head>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
Hi, I am Child
</body>
</html>
so now if you run the code, and use monitoring tool/proxy you'll see that the [jquery-1.4.2.js] requested with every demo3.aspx request and this make the total response [of each demo3.aspx request] big size and slow. :( so how i can make the script file requested only once!
Last edited by geoffrey.mcgill; Jan 17, 2011 at 3:10 PM.
Reason: [CLOSED]