这些方面让你们的网站看起来高端,在网页下载次数方面,特别是如果很多人同时浏览网站时却有负面效应。
While this might make your website look cutting edge, it can also have a negative impact on page loading times, especially if a lot of people are viewing the site at the same time.
HTTP压缩减少返回给浏览器的HTML内容量,而Web浏览器缓存减少把文件下载到浏览器的次数。
HTTP compression reduces the size of HTML content returned to the browser, and Web browser caching reduces the number of times a file is downloaded to the browser.
这还能使得仅在脚本执行时才链接这些样式表,这样,对于没有使用该脚本或不支持该脚本的浏览器中的页面,能减少下载次数。
It also allows you the ability to link to that stylesheet only when the script is executed, thereby reducing download times on pages that don't use the script or in browsers that won't support it.
应用推荐