You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Folks thanks for maintaining this package. It recently stopped working for a project of mine and I bisected back to it starting to use the DjangoGZip middleware.
The symptom is that the reloads stop happening. Potential solution to #68 (comment).
I solved it by not using the GZip middleware at dev time, but perhaps this is a matter of ordering the middleware differently?
A suggestion for guarding against this, if you deem it useful: django-browser-reload should inspect the middleware list and crash the development server on start with a helpful message if the gzip middleware is present (at the wrong place in the list?), unless ALLOW_BROKEN_GZIP_RELOAD=True.
Cheers.
The text was updated successfully, but these errors were encountered:
We could add a system check but it would have to be specific to GZipMiddleware and would miss other encoding middleware from third party packages. Maybe that’s okay. No need for a custom setting to silence it if we create a system check.
Description
Folks thanks for maintaining this package. It recently stopped working for a project of mine and I bisected back to it starting to use the DjangoGZip middleware.
The symptom is that the reloads stop happening. Potential solution to #68 (comment).
I solved it by not using the GZip middleware at dev time, but perhaps this is a matter of ordering the middleware differently?
A suggestion for guarding against this, if you deem it useful:
django-browser-reload
should inspect the middleware list and crash the development server on start with a helpful message if the gzip middleware is present (at the wrong place in the list?), unlessALLOW_BROKEN_GZIP_RELOAD=True
.Cheers.
The text was updated successfully, but these errors were encountered: