Closed k-nut closed 5 years ago
This does not seem to have any impact on build time (although I also only measured once):
~/p/codefor.de (gh-pages|✔) $ time bundle exec jekyll build
Configuration file: /Users/knut/projects/codefor.de/_config.yml
Source: /Users/knut/projects/codefor.de
Destination: /Users/knut/projects/codefor.de/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 11.04 seconds.
Auto-regeneration: disabled. Use --watch to enable.
12.75 real 9.78 user 1.99 sys
~/p/codefor.de (gh-pages|✔) $ nvim _layouts/base.html #remove include_cached
~/p/codefor.de (gh-pages|✚1) $ time bundle exec jekyll build
Configuration file: /Users/knut/projects/codefor.de/_config.yml
Source: /Users/knut/projects/codefor.de
Destination: /Users/knut/projects/codefor.de/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 10.222 seconds.
Auto-regeneration: disabled. Use --watch to enable.
11.35 real 9.77 user 1.43 sys
the
head-social-og.html
template actually depends on the current page and therefore cannot simply be cached.By removing this cache we actually properly render the meta tags that are required for facebook/twitter/etc. again