asp.net网站性能(速度,负载等......) [英] asp.net website performance(speed,load,etc...)

查看:63
本文介绍了asp.net网站性能(速度,负载等......)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jquery(每个版本)放头



jquery(each version) put the head

<head>
<script src=".....jquery1.x.x">
</head>




当完成页面加载时,
是否在客户端下载了jquery文件?



会发生什么?



jquery或jquery.min:影响并提高网站速度---哪个?



when the finish page load --- does the jquery file download in client side?

what happen?

jquery or jquery.min : effect and improve website speed---which?

推荐答案

看你在你的jquery中找到三个版本的java脚本文件。

1.jquery-1.4.1-vsdoc.js

2.jquery-1.4.1.js

3.jquery-1.4.1.min.js



-vsdoc.js是那里提供视觉工作室的intellisence。如果你不需要情报,你可以删除它。



- .min版本是javascript的minfied版本。它的尺寸较小,基本上适用于生产环境。



.js是普通文件包含的所有内容。所以它取决于你想要使用的。

-SG
see you will find three version of java script file in your jquery.
1.jquery-1.4.1-vsdoc.js
2.jquery-1.4.1.js
3.jquery-1.4.1.min.js

-vsdoc.js is there to provide intellisence for the visual studio. If you dont need intelligence you can remove this.

- .min version is the minfied verison of the javascript. Which is less in size and is basically for production environment.

.js is the the normal file contains everything. So it depends on you wht you want to use.
-SG


Quote:

当完成页面加载---在客户端下载jquery文件?

when the finish page load --- does the jquery file download in client side?





Jquery文件在客户端机器上下载。< br $>




Jquery file is downloaded at client machine.

Quote:

jquery或jquery.min:影响并强化网站速度 - -which?

jquery or jquery.min : effect and emprove website speed---which?





jquery.min版本比其他jquery文件更快。



jquery.min version is faster than other jquery files.





1.尝试捆绑和缩小脚本和css文件。这将改善页面性能。



2.尝试从CDN(内容交付网络)引用jQuery库文件。
Hi,

1. Try to bundle & minification your script and css files. That will improve the page performance.

2. Try to refer the jQuery library files from the CDN (Content Delivery Network).


这篇关于asp.net网站性能(速度,负载等......)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆