Skip to content

Server should also sweep cache#232

Merged
brenogazzola merged 1 commit into
mainfrom
server-should-sweep
Feb 5, 2025
Merged

Server should also sweep cache#232
brenogazzola merged 1 commit into
mainfrom
server-should-sweep

Conversation

@brenogazzola
Copy link
Copy Markdown
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.

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