# how to clear cache automatically

**URL:** <https://forum.infinityfree.com/t/how-to-clear-cache-automatically/5841>\
**Category:** Hosting Support\
**Created:** [June 5, 2016, 9:16pm UTC](https://forum.infinityfree.com/t/how-to-clear-cache-automatically/5841 "2016-06-05T21:16:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mralihaider](https://forum.infinityfree.com/letter_avatar/mralihaider/32/6_449c533f586939b6e5f246632a46421f.png) [@mralihaider](https://forum.infinityfree.com/u/mralihaider)\
**Post date:** [June 5, 2016, 9:16pm UTC](https://forum.infinityfree.com/t/how-to-clear-cache-automatically/5841/1 "2016-06-05T21:16:08Z")

</div>

hello admin and mod  
i was wondering how to clear **cache**  **automatically** for browsing  
because i built a website from **scratch** using only **html** pages  
but the problem is when someone visit my site the fist time  
and come back to it again after some time the  
changes to the site are **not visible**.

i’m sure this is because i’m created it with a simple html code  
not a ready made script like **wordpress**

so when i **update** the site and **change** something with it  
the change is not visible until i **delete cache manually**  
and **refresh** page  
this is a **big issue** that needs to be **solved**

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [June 6, 2016, 7:25am UTC](https://forum.infinityfree.com/t/how-to-clear-cache-automatically/5841/2 "2016-06-06T07:25:52Z")

</div>

An HTML file is static content, so it makes sense it’s being cached. After all, static content shouldn’t change that option so caching speeds it up a lot.

That said, when the file is changed, the browser cache should be dropped automatically as well. However, if the content changes very often your browser may keep it cached for at least some time. However, that’s a decision of your browser maker and is not something which can be fixed on our end.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [January 17, 2019, 7:26pm UTC](https://forum.infinityfree.com/t/how-to-clear-cache-automatically/5841/3 "2019-01-17T19:26:21Z")

</div>

Closed on January 17, 2019, 7:26pm UTC


