Question

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:

Hello,

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
Answer a question...

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:

https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/

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!

Best,

Bobby