# Google Cloud Run Cache Problem

**URL:** <https://discuss.google.dev/t/google-cloud-run-cache-problem/88959>\
**Category:** Compute Infrastructure\
**Tags:** server-configuration, cloud-dns, persistent-disk\
**Created:** [July 12, 2022, 6:31pm UTC](https://discuss.google.dev/t/google-cloud-run-cache-problem/88959 "2022-07-12T18:31:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [July 12, 2022, 6:31pm UTC](https://discuss.google.dev/t/google-cloud-run-cache-problem/88959/1 "2022-07-12T18:31:30Z")

</div>

In June 21 I changed my website to a new framework, in past I’ve used Vuejs and now I’m using React. But my cache never invalidate, I can access my new site only in browsers that never enter in old version or using **CTRL + SHIFT + R** (But on next refresh the old site backs).

I was looking in Chrome Dev tools network tool and notice response header still send date atribute as June 20, others clients has this same problem. How can I resolve this? Without go in browser settings and clean manually my cache, it’s inviable cause older users has this problem too…

I also tried flush DNS Cache with this tool [https://developers.google.com/speed/public-dns/cache](https://developers.google.com/speed/public-dns/cache)

It’s running in Google Cloud Run

 ![TRPAQ.png](https://d2yds90mtvelsl.cloudfront.net/original/3X/0/6/065293455250c4b9ebc977bab6199cf8fa5b2f2b.png)

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [August 8, 2022, 9:50pm UTC](https://discuss.google.dev/t/google-cloud-run-cache-problem/88959/2 "2022-08-08T21:50:27Z")

</div>

matthsena; Hi. GCP Storage has cache-control options I have worked on. Check out: [cloud.google.com/storage/docs/metadata](http://cloud.google.com/storage/docs/metadata) and [cloud.google.com/cdn/docs/caching](http://cloud.google.com/cdn/docs/caching) I have used No-store and public max-age= for storage to address version control accessed by browsers. Max-age=3600 is the default; I have tested settings as low as 800s to observe cache behavior. I am a skills boost beginner in GCP; so I don’t know if this applicable to your situation. thanks; pfrankwicz.
