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
During local development with Redash, the browser incorrectly caches results from previous Redash deployments.
After building, tearing down, and re-building my dev deployment a few times I noticed that new queries were returning the result of previous queries from several docker-compose up's ago. For example, I would have some group by query and then after several tear-downs and re-builds of the service I would run a simple count() and the result would be the same as that group by from an hour ago. What’s even weirder is running this count() many times in a row would lead to different results. Sometimes it would be the correct answer, sometimes it would return that aggregate result, and sometimes it would return a result from another query I had run previously.
I finally realized that disabling caching on my browser stopped this issue. The changes I made are simple changes to the internals of a data source and should have no effect on anything related to this type of behavior.
Issue Summary
During local development with Redash, the browser incorrectly caches results from previous Redash deployments.
After building, tearing down, and re-building my dev deployment a few times I noticed that new queries were returning the result of previous queries from several docker-compose up's ago. For example, I would have some group by query and then after several tear-downs and re-builds of the service I would run a simple count() and the result would be the same as that group by from an hour ago. What’s even weirder is running this count() many times in a row would lead to different results. Sometimes it would be the correct answer, sometimes it would return that aggregate result, and sometimes it would return a result from another query I had run previously.
I finally realized that disabling caching on my browser stopped this issue. The changes I made are simple changes to the internals of a data source and should have no effect on anything related to this type of behavior.
See https://discuss.redash.io/t/maddening-browser-cache-behavior-in-dev-environment/4342 for more.
Steps to Reproduce
Technical details:
The text was updated successfully, but these errors were encountered: