Skip to content

Conversation

@denisdefreyne
Copy link
Member

Detailed description

When an item rep fails to be compiled due to a dependency, enqueue all the dependent reps as well. This is a heuristic that could drastically improve performance.

Even though the dependent reps might not have changed, recompiling them is quick because the compiled content cache will be used.

This change should drastically improve the compilation performance of sitemaps, which tend to depend on every item in a site.

When an item rep fails to be compiled due to a dependency, enqueue all
the dependent reps as well. This is a heuristic that could drastically
improve performance.

Even though the dependent reps might not have changed, recompiling them
is quick because the compiled content cache will be used.

This change should drastically improve the compilation performance of
sitemaps, which tend to depend on every item in a site.
@denisdefreyne denisdefreyne marked this pull request as ready for review November 16, 2025 10:58
@denisdefreyne denisdefreyne changed the title Pull in non-enqueued reps if useful Improve performance: Pull in non-enqueued dependent reps on unmet dependency error Nov 16, 2025
@denisdefreyne denisdefreyne merged commit e7c1fd1 into main Nov 16, 2025
37 checks passed
@denisdefreyne denisdefreyne deleted the denis/item-rep-selector-dep-store branch November 16, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants