用于提高我的网站速度的网络提示? [英] Web tips for improving speed of my website?

查看:102
本文介绍了用于提高我的网站速度的网络提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提供一些有用的技巧

  • 如何提高网站速度?
  • 优势和优势?使用子域的缺点?

我的网站是 CareerMitra.com

推荐答案

使用 pageSpeed (google)和 Yslow (Yahoo)浏览器的扩展程序(带或不带Firebug的浏览器),用于查看所有不错的习惯,从而可以更快地改善您的网站.

use pageSpeed(google) and Yslow(Yahoo) browser's extensions (with firebug or not) for view ALL good pratices for improve your website faster.

例如:这是Yslow在您的网站上检查的良好做法的列表:

For sample : this is a list of good practises checked by Yslow in your Website :

  • 最小化HTTP请求
  • 使用内容交付网络
  • 避免使用空src或href
  • 添加过期或缓存控制标头
  • Gzip组件
  • 将StyleSheets放在顶部
  • 将脚本放在底部
  • 避免CSS表达式
  • 将JavaScript和CSS设为外部
  • 减少DNS查找
  • 缩小JavaScript和CSS
  • 避免重定向
  • 删除重复脚本
  • 配置ETag
  • 使AJAX可缓存
  • 将GET用于AJAX请求
  • 减少DOM元素的数量
  • 没有404个
  • 减小Cookie的大小
  • 使用无Cookie的域作为组件
  • 避免使用过滤器
  • 不缩放HTML图片
  • 使favicon.ico小型且可缓存
  • Minimize HTTP Requests
  • Use a Content Delivery Network
  • Avoid empty src or href
  • Add an Expires or a Cache-Control Header
  • Gzip Components
  • Put StyleSheets at the Top
  • Put Scripts at the Bottom
  • Avoid CSS Expressions
  • Make JavaScript and CSS External
  • Reduce DNS Lookups
  • Minify JavaScript and CSS
  • Avoid Redirects
  • Remove Duplicate Scripts
  • Configure ETags
  • Make AJAX Cacheable
  • Use GET for AJAX Requests
  • Reduce the Number of DOM Elements
  • No 404s
  • Reduce Cookie Size
  • Use Cookie-Free Domains for Components
  • Avoid Filters
  • Do Not Scale Images in HTML
  • Make favicon.ico Small and Cacheable

此外,使用子域来提高速度也没有优势或不足之处... 但是,这可能是 SEO 的优势或劣势,但这不是您的问题...

Also, there not advantages or disavantages to use subdomain for speed... But, this can be an advantage or disavantage for SEO, but it is not your question...

这篇关于用于提高我的网站速度的网络提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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