iissnan / hexo-theme-next

Elegant theme for Hexo.
http://notes.iissnan.com
MIT License
15.88k stars 3.61k forks source link

PJAX #918

Open Cesirdy opened 8 years ago

Cesirdy commented 8 years ago

建议加入pjax 可以大幅度优化载入速度

CSGrandeur commented 7 years ago

+1

ivan-nginx commented 7 years ago

@caisiduo dont understand u, write in English if not solved. If solved, close it please. Thank's!

CSGrandeur commented 7 years ago

123

Means that using pjax (pushstate + ajax), or like turbolinks, to load pages without refresh.

For example, in the repository pages of github, when changing sections, there will be a loading bar in the top. The page will not be reloaded. Same in youtube, a red bar instead.

But hexo is a static page system. I think it's hard to implement.

ivan-nginx commented 7 years ago

This is cool thing, i take it into backlog. Need to think about it.

stevenjoezhang commented 5 years ago

Here's the pull request for PJAX: https://github.com/theme-next/hexo-theme-next/pull/1024