-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Template Rendering Shows Stale Content with Multiple Gunicorn Workers(docker+django+gunicorn) #3282
Comments
what does your app looks like? you need to endure that the urls are not
lozded globally. and tjis should work.
Le mar. 20 août 2024 à 18:38, FrankFang0813 ***@***.***> a
écrit :
… Hi I have a Issue,
When running a Django application with multiple Gunicorn workers, I
encounter an issue where template rendering shows stale content.
Specifically, after navigating from one URL (e.g., foo/123) to another
(e.g., foo/456), the rendered page sometimes displays content from the
previous URL (foo/123) instead of the current one. This issue does not
occur when only a single worker is configured.
Thank you!
—
Reply to this email directly, view it on GitHub
<#3282>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADRIXETQ7A4TCMO4WXWJDZSNWIXAVCNFSM6AAAAABM2I6XUOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TMMBYGY3TMNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I'm using Dash to build my layout, and my URLs are dynamically generated. I've verified that the parameters( request and context) passed during render are correct. However, when I use multiple workers, the URL are correct, but the displayed page shows the content from the previous URL. When I use a single worker, this issue doesn't occur. |
I could imagine a number of ways how this could go wrong, including but not limited to:
You need to provide enough code and the method of deployment to review or reproduce. |
Hi I have a Issue,
When running a Django application with multiple Gunicorn workers, I encounter an issue where template rendering shows stale content. Specifically, after navigating from one URL (e.g., foo/123) to another (e.g., foo/456), the rendered page sometimes displays content from the previous URL (foo/123) instead of the current one. This issue does not occur when only a single worker is configured.
Thank you!
The text was updated successfully, but these errors were encountered: