github hexojs/hexo 3.2.0-beta.2

latest releases: v7.2.0, v7.1.1, v7.1.0...
pre-release8 years ago

Speed improvement

Cached rendered contents 9ba40f4

Rendered contents are cached in the warehouse. This saves a lot of time and made hot processing (2nd-time processing) much faster.

Lazy load language files of highlight.js hexojs/hexo-util@7f6469e

highlight.js is slow. Especially when it try to detect the language. Lazy load language files make processing faster and don't have to load bunch of unused language files. However there're some limitations:

  • Auto detect must be disabled.
  • You have to specify language in code block.

What can we do next?

Generation speed is slow so far. I'm still finding a way to solve it.

Include/exclude source files 8cca1f9

You can include/exclude specified source files in _config.yml.

include:
  - .htaccess

exclude:
  - tmp/**/*

Other changes

Don't miss a new hexo release

NewReleases is sending notifications on new releases.