9 ms·
Nice! Great to see innovation in the Jekyll space. Quick FYI on Jekyll performance: I noticed slow generation times on one of my sites and traced it to a plug
by klandergren 2y ago
Nice! Great to see innovation in the Jekyll space.
Quick FYI on Jekyll performance:
I noticed slow generation times on one of my sites and traced it to a plugin that was spawning a git process to get the last commit info for every page. I wrote a drop-in replacement called jekyll-last-commit[0] that uses the ruby libgit2 wrapper for improved performance. Details on its origins are in an old HN comment[1] if you are interested!
[0]: https://github.com/klandergren/jekyll-last-commit https://github.com/klandergren/jekyll-last-commit
[1]: https://news.ycombinator.com/item?id=34331663 https://news.ycombinator.com/item?id=34331663
- captn3m0 2y agoThe other last-modified-plugin is now archived, and no longer included in the default Jekyll, but the sitemap and seo plugin still seem to rely on the page.last_modified_at property, albeit undocumented (https://github.com/jekyll/jekyll/issues/9702 https://github.com/jekyll/jekyll/issues/9702), so might be worth getting the implementation switched upstream perhaps? We show the last-modified date on endoflife.date products (https://endoflife.date/jekyll https://endoflife.date/jekyll), but I'm not sure how we have the property set right now, since I don't remember including either plugin. Thanks for creating this, I have a few other sites where this will be quite helpful.
- philipwhiuk 2y agoThanks for endoflife.date!
- gjtorikian 2y agoOh hey that’s me! Glad you found it useful and thanks for carrying the torch forward.