Public Link Not Reflecting Updated Query in Module

Hi everyone,

I'm facing an issue where a module containing a SQL query is not updating in the public link of my Retool app, even though it works fine in the logged-in area.

Context:
I updated a query inside a module that is used in an app.
In the logged-in area, the app correctly reflects the updated query.
However, when accessing the public link, it still returns data from the old version of the query.
I have already published the latest versions of both the module and the app.
What I’ve tried:
Publishing new versions of the module and the app.
Clearing browser cache and using incognito mode.
Adding ?v=timestamp to the public URL to force a refresh.
Duplicating the module and replacing it in the app.
Creating a new test app with only this module to see if the issue persists.
Disabling and re-enabling public access in settings.
Expected Behavior:
The public link should reflect the latest version of the module and query, just like in the logged-in area.

Actual Behavior:
The public link continues to return data based on an older version of the query, even after multiple publishes.

Has anyone faced a similar issue? Is there any way to force Retool to update the module in the public link?

Thanks in advance! :pray:

Hi @Dellinghausen,

Thanks for reaching out about this :thinking: that sounds very strange. The troubleshooting steps you have outlined are good things to try. Could you share the json export for the module with me? What change did you make in the query?