]> git.maquefel.me Git - brevno-suite/hugo/commit
Re-introduce the LRU-evicted identities in change set calculation
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 2 Feb 2025 10:48:37 +0000 (11:48 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 2 Feb 2025 14:55:11 +0000 (15:55 +0100)
commit835579b338deca98751fbcf3444928f26e293543
tree611d69500b4b6947c825606468e12a2d95d4ed0b
parent05e067ced8aa9ee3f21814131f81213e7c65a632
Re-introduce the LRU-evicted identities in change set calculation

This is a follow up to db28695ff505f84aee69c72dcc9e192f674c86a1 -- that commit dropped the cache items evicted in the LRU process. This was done as performance optimization for large Hugo sites.

That made much sense, but now there's a slight chance that we miss out on a change when rebuilding.

This commit fixes this by applying the same logic to the evicted items as if they were still in the cache. This should preserve the performance gains in db28695ff505f84aee69c72dcc9e192f674c86a1 and close the hole for the possible false negatives.
hugolib/content_map_page.go