3

使用新版本的 jekyll,加快编译速度

 11 months ago
source link: https://blog.kelu.org/tech/2023/06/11/jekyll-new-builder.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

使用新版本的 jekyll,加快编译速度

2023-06-11     tech jekyll
jekyll.jpg

我的 blog 一直使用 jekyll 3.8.6 来 build blog,这么多年下来攒了上千篇文章,编译速度一直令人发指,最近更是达到了惊人的 2000s。

最近在网上闲逛了 jekyll 编译速度的这个问题,似乎已经解决了,使用了最新的版本编译,速度缩短到了 20s,令我震惊。

image-20230620午後10458304

docker-compose.yml 注意修改的内容为 command 的内容即可:

bundle exec jekyll serve
image-20230620午後10803051

如果本文对你有帮助,欢迎投食

alipay.gif
qpay.gif
圣杯の寄るべに従い。この意、この理に従うならば応えよ!

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK