I’m having problems developing one of my websites. I believe the problem is cache related. It’s likely due to the CDN that I’m using, but I want to check to ask if DO cache my droplet files in any way?

Thanks,

Jake

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.

×
2 answers

Hello @jakemeah ,

DigitalOcean Droplets won’t cache any of your files,unless you set a cache-control header.And this can be a problem of your CDN provider.If you don’t mind list more information,we would love to check the detail.

Regards,
Shiroka

  • Hi Shiroka,

    Thanks for your reply. What details would help?

    I’m using Thesis with Wordpress. Thesis has a custom css edit page within it’s dashboard, but I don’t know the URL path for this.

    I’ve purged cache with Cloudflare, set to developer mode, set page rules, none of this appears to refresh the cache, which is why I’m wondering if the issue is somewhere within DO.

    I have found similar issues with other Thesis and CloudFlare users. The theme developer commented to say that CloudFlare doesn’t release the cache for weeks.

    Anything else? This isn’t my speciality so I don’t know what information would help.

    • Hi,

      Sorry I don’t use WordPress,but according to your description,Thesis is a plugin to load css files sync.Is that right?Whats the problem you met,the page rendered wrongly?If that,better to check the addon’s introduce or contact with the author to see if the addon will cache your css file.And in my opinion,it’s easier to use jsDelivr to distribute your js and css files.Its more customizable.

      Regards,
      Shiroka

@jakemeah how did you configure your web server? the Droplet comes blank by default, and even LAMP isn’t installed, so we need more information about your stack (LAMP/LEMP, Memcache/Redis?) to have a better idea of what could be cached, or not.

To bypass cloudflare, you can simply edit your host file and access the DO droplet directly that way.

For in-memory cache, a reboot should wipe the cache. For disk-based caching, you’ll need to purge the cached data. We don’t know enough at this point.

Submit an Answer