search

Home  >  Q&A  >  body text

前端 - 如何优化 goagent.org 的页面载入速度?

各位大大,

我给 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中文网2784 days ago512

reply all(7)I'll reply

  • 迷茫

    迷茫2017-04-17 11:05:58

    Problem has been resolved:

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

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 11:05:58

    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.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 11:05:58

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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 11:05:58

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

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 11:05:58

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

    reply
    0
  • PHPz

    PHPz2017-04-17 11:05:58

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

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 11:05:58

    Is the website still under maintenance?

    reply
    0
  • Cancelreply