How To Clear Cache on Server side for Website using DO

Hi Everyone,

I use DO for hosting and I am having an issue where I am required to clear the Cache on my website from the server side. I asked for help from the Template support and this is the response that they provided me:


Sorry to say but it seems that the Cache is not getting completely cleared from your Server end.

Because as soon as we clear the Cache out from the Browser with the Inspect Tool, the Site Preview becomes correct (under the Incognito mode).

So, please once contact your Hosting Provider in their regard and ask them flush out any sort of Site or Server Cache and then check back your Site Preview again in Incognito Mode.

Hopefully, you won’t find the issue again.

Does anyone know how I can solve this issue? There are icons and headers that are not showing up on my site causing major losses.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
December 11, 2022

Hi there,

Clearing the cache from your server, would really depend on what kind fo caching you are using and what kind of application.

As all of DigitalOcean Droplets are unmanaged, this means that the DigitalOcean team does not really have any access to your servers. What you need to do is to access your server as described here:

And then clear your cache which would depend on what kind of caching you are using.

However on another note, as the problem that you are describing is fixed by clearing the browser cache, this indicates that the problem is with the app itself rather than any server-side cache. If the problem was related to a server-side caching, then clearing the cache of your browser would not fix the problem.

Feel free to share more details about the app that you are using and the caching setup, I could then further advise you on how to clear that cache.

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.