English 中文(简体)
业绩如何更好?
原标题:Whats better in terms of performance?

情况更好。

你们有20个 j字档案。 所有网页都有10份。 因此,他们将进入主页。 现在,这又是如何? 某页使用4/10另一种使用4/10,另一种使用2/10。

Would it a) be better to combine them all into one file(dynamically of course) so only one http request would be made.

b) 在主页上合并了10个,其他各页合并起来。

So in some my pages I would be looking at 4 或5 java-script requests

  1. one from master
  2. one f或jquery from google CDN
  3. one f或jquery ui from google CDN
  4. one f或jquery validate from MS CDN
  5. one f或anything f或that page.

Most of my scripts already use jquery live because I use jquery ajax tabs and I have to load all the scripts f或each of the tabs at the same time.

如果你不每次去另一个表格,就会下载一套新的java字母,从而开始开展具有约束力的活动,例如X点击时间,X是用户装上同一表格的几倍。

最佳回答
问题回答

取决于贵国非共有档案的大小。 如果它们不是太大,就把它们结合起来。 请求通常比转让更长。 当然,如果你真心实意地照顾到很多东西,你就应当尽自己的基准。

但是,如果存在疑问,则会合在一起。

Edit:我刚刚读过你的问题。 备选案文B较好,可以加固主编。





相关问题
What to look for in performance analyzer in VS 2008

What to look for in performance analyzer in VS 2008 I am using VS Team system and got the performance wizard and reports going. What benchmarks/process do I use? There is a lot of stuff in the ...

SQL Table Size And Query Performance

We have a number of items coming in from a web service; each item containing an unknown number of properties. We are storing them in a database with the following Schema. Items - ItemID - ...

How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

热门标签