# Webviewer displays cached versions of html packages

**URL:** <https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112>\
**Category:** Issues / Bugs\
**Created:** [July 21, 2022, 2:33am UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112 "2022-07-21T02:33:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)\
**Post date:** [July 21, 2022, 2:33am UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/1 "2022-07-21T02:33:07Z")

</div>

I am working on an app which uses a number of HTML pages saved as assets which are opened in the webviewer. If I edit the page leaving the file name the same and then replace (first delete then add) the file in the app, the original file is displayed and not the new edited one. This happens on both iOS and android and with both the companion and published apps. But only if the file has been opened in the app before. If the app had NOT accessed the file previously, the replaced version is the one that is displayed. Is there a way to clear the cache so that the earlier file does not show up?

This sample project demonstrates the issue.

[https://x.thunkable.com/copy/82537c37dafbcf6f73f1866b8e444360](https://x.thunkable.com/copy/82537c37dafbcf6f73f1866b8e444360)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [July 21, 2022, 10:27am UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/2 "2022-07-21T10:27:28Z")

</div>

Do you mean that the HTML pages loaded into the project as **assets** do work for you? For me these arrangement does not work from the mobile. Only when previewed from the computer.

---

<div class="post-metadata">

**Author:** ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)\
**Post date:** [July 22, 2022, 6:57am UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/3 "2022-07-22T06:57:45Z")

</div>

Yes, in the sample project, the file “First1.html” is loaded as an asset. If you delete that file and replace it with another with the same name, when you next run the app in the companion, you will continue to see the original, not the replaced file. Yes, if you use the “Preview”, the new file shows correctly, not the old.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [July 22, 2022, 8:53am UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/4 "2022-07-22T08:53:22Z")

</div>

As I said, there is a known issue with HTML as assets when run from the mobile.

See this post

> [@Issues using local HTML - web viewer does not post/receive messages or load html](https://community.thunkable.com/t/issues-using-local-html-web-viewer-does-not-post-receive-messages-or-load-html/1594357):
>
> Hi, once again local html files do not work in the web viewer. Even if the visibility is on true So if I set URL to index.html file stored in thunkable storage it displays a blance page am I the only one? IOS, and Android. On IOS a big NSString error and on android blank screen.

---

<div class="post-metadata">

**Author:** ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)\
**Post date:** [July 23, 2022, 1:25am UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/5 "2022-07-23T01:25:52Z")

</div>

Got it, thanks. I wasn’t tracking that issue. I’ll see if i can figure out a work around.

---

<div class="post-metadata">

**Author:** ![oberon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/oberon/32/112434_2.png) [@oberon](https://community.thunkable.com/u/oberon)\
**Post date:** [August 27, 2022, 7:34pm UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/6 "2022-08-27T19:34:43Z")

</div>

Hi,  
It’s been 8 months that they are supposed to take care of it  
@cassandra

 ![Screenshot_2022-08-27-21-35-31-06_40deb401b9ffe8e1df2f1cc5ba480b12](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/2/6294a3c12dc40a793b93450a7210a95d7ebfae58.jpeg)

---

<div class="post-metadata">

**Author:** ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)\
**Post date:** [August 27, 2022, 9:33pm UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/7 "2022-08-27T21:33:41Z")

</div>

Yes, it must not be an easy fix. My current work around is to ask users to deinstall and reinstall my published APPs when I make changes to the HTML documents, but that is really not ideal.

---

<div class="post-metadata">

**Author:** ![cassandra](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cassandra/32/115809_2.png) [@cassandra](https://community.thunkable.com/u/cassandra)\
**Post date:** [August 29, 2022, 10:35pm UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/8 "2022-08-29T22:35:16Z")

</div>

Hey everyone, appreciate the flag here. Apologies this has been in the works for so long. I will resurface to our engineering team today to see what the progress is, and provide an update.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [January 3, 2024, 7:13pm UTC](https://community.thunkable.com/t/webviewer-displays-cached-versions-of-html-packages/1970112/9 "2024-01-03T19:13:51Z")

</div>


