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

Two massive performance improvements for large sites #6730

Merged
merged 2 commits into from
Jan 31, 2018

Commits on Jan 31, 2018

  1. RelatedPosts#most_recent_posts: only reverse the last 11 posts instea…

    …d of all the documents
    
    When you have 10,000 posts, this saves a _ton_ of time.
    parkr committed Jan 31, 2018
    Configuration menu
    Copy the full SHA
    3165e44 View commit details
    Browse the repository at this point in the history
  2. Do not assign site.related_posts unless it's requested.

    Instead, assign the current document in the SiteDrop and generate the related_posts if requested by Liquid.
    parkr committed Jan 31, 2018
    Configuration menu
    Copy the full SHA
    3dc0c7b View commit details
    Browse the repository at this point in the history