Report this

What is the reason for this report?

Cache problem on static site app

Posted on April 12, 2021

I have a static site app in the apps platform accessible through a route on my domain and wild card domain, for example:

companya.mydomain.com/portal companyb.mydomain.com/portal

If I update my static website on github then it gets deployed correctly.

However, if I check companya.mydomain.com/portal then it is shows the old (cached) version of the site. To see the new version I have to go to a random subdomain to see it:

random.mydomain.com/portal -> shows updated version!!

I cleared the cache on my computer and I get the same issue, if I use another computer that I have not used before then it gives me the same. So it is not a cache issue on the local machine.

It seems that waiting a day resolves the issue…!

How can this be resolved?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

I think that I’ve seen this too, I could suggest trying to do the deployment manually by clicking on the Deploy button.

Let me know how this goes! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.