Skip to content

Conversation

brenogazzola
Copy link
Collaborator

@brenogazzola brenogazzola commented Feb 4, 2025

Closes #228
Closes #110

Finally figured out the problem. With puma on cluster mode, a page request might be served by worker 1, which will cause a sweep if there were updates, but an asset served by the server on worker 2... which has not swept the cache yet. And since the request is hitting the Server instance, instead of a controller it will not cause a sweep.

@brenogazzola brenogazzola merged commit 689e756 into main Feb 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cache_sweeper doesn't work with puma cluster mode Propshaft race condition with webpack creates 410 with dynamic chunk loading
1 participant