Company
Date Published
Nov. 12, 2010
Author
Damon Billian
Word count
439
Language
English
Hacker News points
None

Summary

Cloudflare, a content delivery network (CDN), enhances website speed by caching static portions of websites closer to visitors. However, when editing static files like CSS or JavaScript, waiting for the cache to expire can be frustrating. To address this issue, users can leverage two methods: Development Mode and Cache Purge. Development Mode temporarily disables Cloudflare's accelerated cache, allowing immediate updates to cacheable content such as images, CSS, or JavaScript files. Users can access it by navigating to Settings->Cloudflare Settings->Development Mode->Toggle On. Cache Purge is a recently released feature that instantly purges all cached resources for a website, forcing Cloudflare to fetch new versions of static resources. It's found under Settings->Cloudflare settings and should be used sparingly as it can slow down the site until the cache rebuilds optimally.