Critical: Preview Iframe Out of Sync Since Recent Update (Persistent Caching Issue)

Description:

Since the last Google AI Studio update, I have encountered a persistent and recurring issue where the development environment (preview iframe) in AI Studio Build becomes out of sync with the actual project source code. This happens across multiple projects.

The Issue: Code changes are correctly saved and deployed, but the internal preview window inside the Build interface consistently displays a stale version.

Crucial Observations:

  1. Direct Link Works: If I open the preview URL in a new browser tab, the application reflects the latest changes perfectly.

  2. Duplication Workaround: Duplicating the project and opening the clone temporarily fixes the preview, but the original project remains stuck.

  3. Build UI Failure: Only the embedded preview iframe within the Build/Chat interface remains outdated, even after code modifications.

Environment Context:

  • Browser: Google Chrome (Latest version).

  • Timeline: Started immediately following the most recent Studio update.

Steps Taken (No Success):

  • Clearing localStorage and sessionStorage.

  • Performing Hard Refreshes (Cmd/Ctrl + Shift + R).

  • Restarting the browser session.

Requested Action: Please investigate why the embedded preview iframe fails to refresh its content while the standalone URL and cloned projects function correctly. This suggests a session-locking or caching issue specific to the iframe integration within the Build UI.

Have you found any sulotion for this?

I can’t continue working on my project because of this bug :frowning:

HI
Could you share a screenshot of the same via DM ?

I have the same issue

What do you mean?! how could I?
It is 2 se[erate screens - 1 from the work space and one from rhe live event. And why do you need a screenshot? It won’t really do any help since it wont show any code…

* Sorry, it was seem like you replied to my comment.

@Shay , the screenshot request was in terms of looking at the prompt made and the preview

For the issue, are there some prompts you can share with me , i tried reproducing this with a few of my apps but with no luck

Also what browser and OS are you using , you can also DM me these details