Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header template extremely inefficient with many pages #497

Closed
klieret opened this issue Mar 21, 2020 · 3 comments
Closed

Header template extremely inefficient with many pages #497

klieret opened this issue Mar 21, 2020 · 3 comments

Comments

@klieret
Copy link

klieret commented Mar 21, 2020

I am considering a case where I have many pages (most of which will be excluded from the header by a solution such as https://mycyberuniverse.com/exclude-pages-from-navigation-menu-in-jekyll.html).

However, the build time per page increases the more pages I add (to more than 1s per page!).

image

I had initially reported this here: jekyll/jekyll#8066 and with the help of @ashmaroli traced that back to the header.html inclusion.

The linked issue also has a quick snippet to test this, generating a larger number of random pages.

@jekyllbot

This comment has been minimized.

@ashmaroli ashmaroli added pinned and removed stale labels May 21, 2020
@monkeywithacupcake
Copy link

You can keep pages off the header by not adding title in the yaml - does that help?

@klieret
Copy link
Author

klieret commented Apr 15, 2021

Yes, this is also what I did in the end IIRC, but it has been a long time and I'm no longer too familiar with this. Let me close this issue, if it affects someone else, they can reopen.

@klieret klieret closed this as completed Apr 15, 2021
@jekyll jekyll locked and limited conversation to collaborators Apr 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants