# How to clear cache when using Google Slides as Data Source?

**URL:** <https://community.thunkable.com/t/how-to-clear-cache-when-using-google-slides-as-data-source/3717365>\
**Category:** Issues / Bugs\
**Created:** [April 5, 2025, 4:49pm UTC](https://community.thunkable.com/t/how-to-clear-cache-when-using-google-slides-as-data-source/3717365 "2025-04-05T16:49:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbcodes451](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mbcodes451](https://community.thunkable.com/u/mbcodes451)\
**Post date:** [April 5, 2025, 4:49pm UTC](https://community.thunkable.com/t/how-to-clear-cache-when-using-google-slides-as-data-source/3717365/1 "2025-04-05T16:49:59Z")

</div>

> [@Clear cache during run application](https://community.thunkable.com/t/clear-cache-during-run-application/1040744):
>
> Hello, there is way to i could clearing the cache of my device when navigate from one screen to another? when i go to “b” screen, in the image “banner” it showing first the picture of of the compo image from the previous screen for a little, and when loading the components for the screen b finaly showing the right imge in my image component of screen “b”. thanks

The above issue was filed 4 years ago. @ioannis has closed it without any resolution. Let me explain my issue.  
I have 2 screens, Scn1 and Scn2. In Scn1 I access information from row 1 - row 5 and write it to Label-1 - Label-5 using google slides as the data source. I switch to Scn2 and switch back to Scn1. I repeat the same operation I did earlier, but this time the row 5 value is being repeated in all the labels. I think that the last read value is being cached. In the above enclosed bug report from 2020 the user is facing the same problem. Please suggest a fix.  
Also note that when I was coding I kept getting Thunkable internal error. So I feel that there is a fundamental flaw in the “get row object from…” block.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/5/b5f9185f5a19a6bd3d55ed764a148dc5c7c6ba13.png)

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [April 5, 2025, 8:53pm UTC](https://community.thunkable.com/t/how-to-clear-cache-when-using-google-slides-as-data-source/3717365/2 "2025-04-05T20:53:26Z")

</div>

Try putting a

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d1b769bd719d4a61edfbbd919b99240cf81f833e.png)  
as the first block in the function Eng. set app varaible LangObj = create object. That might clear the cache. Please note when I tried to code this it kept saying Thunkable Internal Error, contact support. It did work though. I wish Thunkable was bit more specific about the error than just a generic Internal error message.

---

<div class="post-metadata">

**Author:** ![mbcodes451](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mbcodes451](https://community.thunkable.com/u/mbcodes451)\
**Post date:** [April 6, 2025, 4:55am UTC](https://community.thunkable.com/t/how-to-clear-cache-when-using-google-slides-as-data-source/3717365/3 "2025-04-06T04:55:26Z")

</div>

Setting the ‘LangObj = create object’ made it work for the first time. That was the only change. When I did subsequent operation it failed again. I tried setting the LangObj = create object whereever possible but the cache did not get cleared at all. So I finally gave up and resorted to a different methodology. Thank you very much

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [April 18, 2025, 4:51am UTC](https://community.thunkable.com/t/how-to-clear-cache-when-using-google-slides-as-data-source/3717365/4 "2025-04-18T04:51:30Z")

</div>

@matt_conroy helped me and it works beautifully. Hit F12 and you will see on the right hand side showing the JS code which is running behind the chrome. You will see lot of error messages there when you have cache issues. Now on the left hand corner there is the refresh button. Right click it and there you get a drop down menu. Under normal conditions you dont see the drop down menu. In the drop down choose the bottommost option which will clear the cache completely. This really works and fixes the issue.
