前端 - 如何优化 goagent.org 的页面载入速度?
PHP中文网
PHP中文网 2017-04-17 11:03:58
0
7
537

各位大大,

我给 goagent 做了一个主页,想在载入速度上做优化, 目前做的前端优化有:

  1. 把 www.goagent.org CNAME 到 goagentorg.duapp.com, 保证国内打开速度。但是 BAE 貌似目前不支持裸域名的跳转,所以 goagent.org 跳到 www.goagent.org 还需要从 goddady 执行一次 301, 不知道这个有没有什么好办法。

  2. http://www.goagent.org 做了 css/js 嵌入,但是我是一个前端新手,不知道这个页面可以如何继续优化,html 代码布局, js 压缩什么的。还请前端大人不吝指教。

如何还有没注意到地方,还请一并赐教 :)

PHP中文网
PHP中文网

认证0级讲师

reply all(7)
迷茫

Problem has been resolved:

After using dnspod.cn for three months, you can turn on the "Display URL" forwarding function, which is now solved.

伊谢尔伦

It opens very quickly now...

  1. If it’s 301, why do you need to go to Godaddy for a lap? Change to dynamically determine the download path. If it is the root, header() will issue a 301 flag to jump to the download.
  2. Personally I think it’s good...it loads so quickly, there’s no need to be picky.
伊谢尔伦

For 301, it may be much faster to go from China, such as dnspod

洪涛

It’s really fast~ It’s not a big project~ There’s no need to optimize like this~

小葫芦

"The compression optimization of this website is very good!" - Alibaba Test

PHPzhong

GTMetrix seems to have given 3 suggestions. I said I couldn't understand.

巴扎黑

Is the website still under maintenance?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template